diff --git a/build.gradle b/build.gradle index 6540c9b5029..f01b3706353 100644 --- a/build.gradle +++ b/build.gradle @@ -21,12 +21,6 @@ plugins { id 'me.champeau.gradle.jmh' version '0.3.0' } -configurations.errorprone { - // 2.0.10 does not work on Windows while 2.0.9 does - // See https://github.com/google/error-prone/issues/432 - resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.9' -} - apply plugin: "java" apply plugin: "application" apply plugin: "project-report" diff --git a/src/test/java/net/sf/jabref/importer/CustomImporterTest.java b/src/test/java/net/sf/jabref/importer/CustomImporterTest.java index fac5fb75ab8..c2a8a1a9611 100644 --- a/src/test/java/net/sf/jabref/importer/CustomImporterTest.java +++ b/src/test/java/net/sf/jabref/importer/CustomImporterTest.java @@ -97,7 +97,7 @@ public void testCompareToGreater() { @Test public void testCompareToEven() { - assertEquals(0, importer.compareTo(importer)); + assertEquals(0, importer.compareTo(new CustomImporter(new CopacImporter()))); } @Test