Skip to content

Commit

Permalink
Fix checkers
Browse files Browse the repository at this point in the history
  • Loading branch information
InAnYan committed Jan 21, 2025
1 parent 4e2348a commit fbf4a7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/jabref/gui/entryeditor/SciteTabTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void setUp() {

@Test
void name() {
assertEquals(SciteTab.NAME, "Citation information");
assertEquals("Citation information", SciteTab.NAME);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void isRecognizedFormat() throws IOException, URISyntaxException {
void isRecognizedFormatReject() throws IOException, URISyntaxException {
List<String> list = Arrays.asList("IEEEImport1.txt", "IsiImporterTest1.isi", "IsiImporterTestInspec.isi",
"IsiImporterTestWOS.isi", "IsiImporterTestMedline.isi", "RisImporterTest1.ris",
"Endnote.pattern.no_enw", "empty.pdf", "annotated.pdf");
"Endnote.pattern.no_enw", "empty.pdf", "pdf/annotated.pdf");

for (String string : list) {
Path file = Path.of(EndnoteImporterTest.class.getResource(string).toURI());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static Collection<String> getTestFiles(Predicate<String> fileNamePredicat
return stream
.map(path -> path.getFileName().toString())
.filter(fileNamePredicate)
.filter(name -> !name.equals("pdf")) // There is a `pdf` in {@link TEST_RESOURCES}.
.filter(name -> !"pdf".equals(name)) // There is a `pdf` in {@link TEST_RESOURCES}.
.collect(Collectors.toList());
}
}
Expand Down

0 comments on commit fbf4a7c

Please sign in to comment.