From afb9e76cda1f224b41c12ff5ed79dd225263c983 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Wed, 25 Oct 2023 14:46:12 +0200 Subject: [PATCH] Change JavaDoc to annotation (#10571) * Change JavaDoc to annoation (and fix visibility) * Fix visibility --- .../citationkeypattern/CitationKeyPatternPreferences.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,