Skip to content

Commit

Permalink
Rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed Jul 21, 2016
1 parent 4eeee96 commit d02b151
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.List;

import net.sf.jabref.Globals;
import net.sf.jabref.model.entry.FieldName;
import net.sf.jabref.preferences.JabRefPreferences;

public class FileLinkPreferences {
Expand All @@ -18,7 +19,7 @@ public FileLinkPreferences(List<String> generatedDirForDatabase, List<String> fi
}

public static FileLinkPreferences fromPreferences(JabRefPreferences prefs) {
return new FileLinkPreferences(Collections.singletonList(prefs.get(Globals.FILE_FIELD + Globals.DIR_SUFFIX)),
return new FileLinkPreferences(Collections.singletonList(prefs.get(FieldName.FILE + Globals.DIR_SUFFIX)),
prefs.fileDirForDatabase);
}

Expand Down

0 comments on commit d02b151

Please sign in to comment.