From cd88caa663808232c2835b09d4cb8b76d76ad35f Mon Sep 17 00:00:00 2001 From: Sebastian Berlin Date: Thu, 13 Jun 2024 10:32:50 +0200 Subject: [PATCH] Update constructor calls --- .../extensions/commons/importer/CommonsImporter.java | 4 ++-- .../extensions/commons/importer/FileRecordToRows.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/openrefine/extensions/commons/importer/CommonsImporter.java b/src/main/java/org/openrefine/extensions/commons/importer/CommonsImporter.java index c39835b..14cc663 100644 --- a/src/main/java/org/openrefine/extensions/commons/importer/CommonsImporter.java +++ b/src/main/java/org/openrefine/extensions/commons/importer/CommonsImporter.java @@ -104,8 +104,8 @@ static public void parse( "", "entity", true, - new ArrayList(), - 1); + 1, + new ArrayList()); col.setReconStats(ReconStats.create(project, 0)); col.setReconConfig(cfg); col.setName("File"); diff --git a/src/main/java/org/openrefine/extensions/commons/importer/FileRecordToRows.java b/src/main/java/org/openrefine/extensions/commons/importer/FileRecordToRows.java index da11bc7..72a49db 100644 --- a/src/main/java/org/openrefine/extensions/commons/importer/FileRecordToRows.java +++ b/src/main/java/org/openrefine/extensions/commons/importer/FileRecordToRows.java @@ -41,7 +41,7 @@ public FileRecordToRows(Iterator iteratorFileRecords, boolean catego this.identifierSpace = "https://commons.wikimedia.org/entity/"; this.schemaSpace = "http://www.wikidata.org/prop/direct/"; this.service = "https://commonsreconcile.toolforge.org/en/api"; - this.reconConfig = new StandardReconConfig(service, identifierSpace, schemaSpace, null, null, true, Collections.emptyList()); + this.reconConfig = new StandardReconConfig(service, identifierSpace, schemaSpace, null, null, true, relatedCategoriesIndex, Collections.emptyList(), relatedCategoriesIndex); }