1
0
mirror of https://github.com/ilri/cgspace-java-helpers.git synced 2025-04-29 18:07:44 +02:00

src/main/java: Skip items that have country codes

Originally I wasn't sure if I was going to try to parse each code,
check them against the mapping, and possibly correct them, but it's
easier to just skip items with codes unless we're in "force" mode.
This commit is contained in:
Alan Orth 2020-08-01 23:14:19 +03:00
parent 4b553676dd
commit 6228f337e9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

@ -143,8 +143,8 @@ public class CountryCodeTagger extends AbstractCurationTask
}
}
} else {
result = itemHandle + ": oh snap, we have countries and codes... not sure what to do";
status = Curator.CURATE_SUCCESS;
result = itemHandle + ": item has country codes, skipping";
status = Curator.CURATE_SKIP;
}
}