Skip to content

Commit

Permalink
change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Apr 24, 2020
1 parent 4dab523 commit 7d21e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/jabref/model/entry/field/FieldFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,9 @@ public static List<Field> getDefaultGeneralFields() {
return defaultGeneralFields;
}


// TODO: This should ideally be user configurable! Move somewhere more appropriate in the future
public static boolean isMultiLineField(final Field field, List<Field> nonWrappableFields) {
// Treat unknown fields as multi-line fields
// FieldContentFormatter provides us with the addtional field abstract, comment and review
return (field instanceof UnknownField) || nonWrappableFields.contains(field) || field.equals(StandardField.ABSTRACT) || field.equals(StandardField.COMMENT) || field.equals(StandardField.REVIEW);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ private JabRefPreferences() {
defaults.put(DEFAULT_BIBTEX_KEY_PATTERN, "[auth][year]");
defaults.put(DO_NOT_RESOLVE_STRINGS_FOR, StandardField.URL.getName());
defaults.put(RESOLVE_STRINGS_ALL_FIELDS, Boolean.FALSE);
defaults.put(NON_WRAPPABLE_FIELDS, "pdf;ps;url;doi;file;isbn;issn;");
defaults.put(NON_WRAPPABLE_FIELDS, "pdf;ps;url;doi;file;isbn;issn");
defaults.put(WARN_ABOUT_DUPLICATES_IN_INSPECTION, Boolean.TRUE);
defaults.put(USE_TIME_STAMP, Boolean.FALSE);
defaults.put(OVERWRITE_TIME_STAMP, Boolean.FALSE);
Expand Down

0 comments on commit 7d21e06

Please sign in to comment.