diff --git a/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyPatternPreferences.java b/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyPatternPreferences.java index 37a678b26c5..3e2c4492d27 100644 --- a/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyPatternPreferences.java +++ b/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyPatternPreferences.java @@ -8,6 +8,8 @@ import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; +import com.google.common.annotations.VisibleForTesting; + public class CitationKeyPatternPreferences { public enum KeySuffix { @@ -51,9 +53,7 @@ public CitationKeyPatternPreferences(boolean shouldAvoidOverwriteCiteKey, this.keywordDelimiter = keywordDelimiter; } - /** - * For use in test - */ + @VisibleForTesting public CitationKeyPatternPreferences(boolean shouldAvoidOverwriteCiteKey, boolean shouldWarnBeforeOverwriteCiteKey, boolean shouldGenerateCiteKeysBeforeSaving,