Skip to content

Commit be102e1

Browse files
committed
fix NyaaBank and revert javadoc to openjdk10 for unknown failure in ssl
1 parent 7303c8d commit be102e1

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- stage: javadoc
5050
language: java
51-
jdk: oraclejdk11
51+
jdk: openjdk10
5252
install: true
5353
before_script:
5454
- if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then exit 0; fi

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip

src/main/java/cat/nyaa/nyaacore/database/relational/SynchronizedQuery.java

-5
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ public Connection getConnection() {
272272
public abstract static class NonTransactionalQuery<T> extends SynchronizedQuery<T> {
273273
public NonTransactionalQuery(Class<T> tableClass, Connection conn) {
274274
super(tableClass, conn);
275-
try {
276-
conn.setAutoCommit(true);
277-
} catch (SQLException ex) {
278-
throw new RuntimeException(ex);
279-
}
280275
}
281276

282277
@Override

0 commit comments

Comments
 (0)