Skip to content

Commit

Permalink
Define variable EXTRA_COLUMNS_COUNT
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshu16095 committed Feb 8, 2025
1 parent a6f8c65 commit 13b21dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class ConsistencyCheckDialogViewModel extends AbstractViewModel {

private final List<Field> allReportedFields;
private final int columnCount;
private final int EXTRA_COLUMNS_COUNT = 2;
private final ObservableList<ConsistencyMessage> tableData = FXCollections.observableArrayList();
private final StringProperty selectedEntryType = new SimpleStringProperty();

Expand Down Expand Up @@ -95,7 +96,7 @@ public ObservableList<ConsistencyMessage> getTableData() {
}

public List<String> getColumnNames() {
List<String> result = new ArrayList(columnCount + 2);
List<String> result = new ArrayList(columnCount + EXTRA_COLUMNS_COUNT);
result.add("Entry Type");
result.add("Citation Key");
allReportedFields.forEach(field -> {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/logic/importer/WebFetchers.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public static Set<FulltextFetcher> getFullTextFetchers(ImportFormatPreferences i
fetchers.add(new DoiResolution(importFormatPreferences.doiPreferences()));

// Publishers
fetchers.add(new ScienceDirect(importerPreferences));
fetchers.add(new ScienceDirect(importerPreferences)); // this
fetchers.add(new SpringerLink(importerPreferences));
fetchers.add(new ACS());
fetchers.add(new ArXivFetcher(importFormatPreferences));
Expand Down

0 comments on commit 13b21dd

Please sign in to comment.