From 8f0567757182a832e628f7958981d032eaaee241 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 9 Apr 2023 01:17:10 +0200 Subject: [PATCH] Fix checkstyle --- src/main/java/org/jabref/model/entry/BibEntry.java | 2 -- src/main/java/org/jabref/preferences/PreferencesService.java | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/jabref/model/entry/BibEntry.java b/src/main/java/org/jabref/model/entry/BibEntry.java index 3ec0822ec3e..5f5301d633a 100644 --- a/src/main/java/org/jabref/model/entry/BibEntry.java +++ b/src/main/java/org/jabref/model/entry/BibEntry.java @@ -918,7 +918,6 @@ public BibEntry withFields(Map content) { return this; } - public BibEntry withDate(Date date) { setDate(date); this.setChanged(false); @@ -1158,5 +1157,4 @@ public void mergeWith(BibEntry other, Set otherPrioritizedFields) { } } } - } diff --git a/src/main/java/org/jabref/preferences/PreferencesService.java b/src/main/java/org/jabref/preferences/PreferencesService.java index fba07fb2006..e4839db64f8 100644 --- a/src/main/java/org/jabref/preferences/PreferencesService.java +++ b/src/main/java/org/jabref/preferences/PreferencesService.java @@ -42,6 +42,7 @@ import org.jabref.model.entry.BibEntryTypesManager; import org.jabref.model.entry.field.Field; import org.jabref.model.metadata.SaveOrderConfig; + import org.jvnet.hk2.annotations.Contract; @Contract