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