File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/org/jabref/logic/journals Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 26
26
public class JournalAbbreviationLoader {
27
27
28
28
private static final Logger LOGGER = LoggerFactory .getLogger (JournalAbbreviationLoader .class );
29
+ private static final boolean USE_FJOURNAL_FIELD = true ;
30
+ private static final boolean BUILTIN_LIST_ENABLED_BY_DEFAULT = true ;
29
31
30
32
public static Collection <Abbreviation > readAbbreviationsFromCsvFile (Path file ) throws IOException {
31
33
LOGGER .debug ("Reading journal list from file {}" , file );
@@ -132,9 +134,9 @@ private static LtwaRepository loadLtwaRepository() throws IOException {
132
134
}
133
135
134
136
public static JournalAbbreviationRepository loadBuiltInRepository () {
135
- JournalAbbreviationPreferences prefs = new JournalAbbreviationPreferences (Collections .emptyList (), true );
137
+ JournalAbbreviationPreferences prefs = new JournalAbbreviationPreferences (Collections .emptyList (), USE_FJOURNAL_FIELD );
136
138
137
- prefs .setSourceEnabled (JournalAbbreviationRepository .BUILTIN_LIST_ID , true );
139
+ prefs .setSourceEnabled (JournalAbbreviationRepository .BUILTIN_LIST_ID , BUILTIN_LIST_ENABLED_BY_DEFAULT );
138
140
return loadRepository (prefs );
139
141
}
140
142
}
You can’t perform that action at this time.
0 commit comments