Skip to content

Commit

Permalink
fix: correct error logging condition
Browse files Browse the repository at this point in the history
It looks like this code was copy/pasted from a few lines below.
  • Loading branch information
ansoncfit committed Apr 13, 2022
1 parent 43068e1 commit ff12cdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void loadFromS3GeoJson() throws Exception {
boolean indexThisFeature = true;
if (id == null) {
allPolygonsHaveIds = false;
} else if (!(name instanceof String)) {
} else if (!(id instanceof String)) {
errors.add(String.format("Value '%s' of attribute '%s' of feature %d should be a string.",
id, idAttribute, featureNumber));
indexThisFeature = false;
Expand Down

0 comments on commit ff12cdc

Please sign in to comment.