diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index d57f19c6853..2de4703981a 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -12,7 +12,7 @@ - + diff --git a/src/main/java/org/jabref/gui/EntryTypeView.java b/src/main/java/org/jabref/gui/EntryTypeView.java index 52dac1b4bfe..657fe4b20f0 100644 --- a/src/main/java/org/jabref/gui/EntryTypeView.java +++ b/src/main/java/org/jabref/gui/EntryTypeView.java @@ -188,6 +188,7 @@ private void setEntryTypeForReturnAndClose(Optional entryType) { //Biblatex documentation is favored over the bibtex, //since bibtex is a subset of biblatex and biblatex is better documented. public static String getDescription(EntryType selectedType) { + //CHECKSTYLE:OFF if (selectedType instanceof StandardEntryType) { switch ((StandardEntryType) selectedType) { case Article -> { @@ -293,6 +294,8 @@ public static String getDescription(EntryType selectedType) { } else { return ""; } + //CHECKSTYLE:ON + } }