mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2024-11-29 18:18:24 +01: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:
parent
4b553676dd
commit
6228f337e9
@ -143,8 +143,8 @@ public class CountryCodeTagger extends AbstractCurationTask
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
result = itemHandle + ": oh snap, we have countries and codes... not sure what to do";
|
result = itemHandle + ": item has country codes, skipping";
|
||||||
status = Curator.CURATE_SUCCESS;
|
status = Curator.CURATE_SKIP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user