Update comments

This commit is contained in:
Alan Orth 2020-07-31 22:00:41 +03:00
parent f62b50f5a1
commit 4cf0626385
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 1 additions and 9 deletions

View File

@ -23,7 +23,7 @@ import java.util.List;
import com.google.gson.annotations.SerializedName;
public class CountriesVocabulary {
@SerializedName("3166-1") List<Country> countries; //required
@SerializedName("3166-1") List<Country> countries;
class Country {
private String name; //required

View File

@ -94,14 +94,6 @@ public class CountryCodeTagger extends AbstractCurationTask
if (itemAlpha2CountryCodes.length == 0) {
System.out.println(itemHandle + ": Should add codes for " + itemCountries.length + " countries.");
}
/*Country kenya = new Country("Kenya", null, "Republic of Kenya", 404, "KE", "KEN");
Country afghanistan = new Country("Afghanistan", null, "Islamic Republic of Afghanistan", 024, "AF", "AFG");
Map<Integer, Country> countries = new HashMap<>();
countries.put(kenya.getNumeric(), kenya);
countries.put(afghanistan.getNumeric(), afghanistan);*/
}
setResult(result);