Commit dc88a721 authored by Florian Schäfer's avatar Florian Schäfer

Remove unused field in `WikidataItemExists`

parent e80e1001
......@@ -80,7 +80,7 @@ public class SophoxDownloadReader extends BoundingBoxDownloader {
* @param sophoxQuery The Sophox query
* @param asNewLayer if the data should be downloaded into a new layer
* @param downloadReferrers if the referrers of the object should be downloaded as well
* @param downloadFull if the members of a relation should be downloaded as well
* @param downloadFull if the members of a relation should be downloaded as well
public SophoxDownloadReader(Bounds downloadArea, String sophoxServer, String sophoxQuery,
boolean asNewLayer, boolean downloadReferrers, boolean downloadFull) {
......@@ -5,7 +5,6 @@ import static org.wikipedia.validator.AllValidationTests.SEE_OTHER_CATEGORY_VALI
import static org.wikipedia.validator.AllValidationTests.VALIDATOR_MESSAGE_MARKER;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
......@@ -30,8 +29,7 @@ public class WikidataItemExists extends BatchProcessedTagTest<WikidataItemExists"Could not validate all wikidata=* tags over the internet.") + "\n" + SEE_OTHER_CATEGORY_VALIDATOR_ERRORS
private static final int CHUNK_SIZE = 50;
private List<OsmPrimitive> primitivesForChunks = new ArrayList<>();
private static final int BATCH_SIZE = 50;
public WikidataItemExists() {
......@@ -43,7 +41,7 @@ public class WikidataItemExists extends BatchProcessedTagTest<WikidataItemExists
protected void check(List<TestCompanion> allPrimitives) {
ListUtil.processInBatches(allPrimitives, 50, primitiveBatch -> {
ListUtil.processInBatches(allPrimitives, BATCH_SIZE, primitiveBatch -> {
try {
final CheckEntityExistsResult entityQueryResult = ApiQueryClient.query(
WikidataActionApiQuery.wbgetentities( -> tc.wikidataId).collect(Collectors.toList()))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment