mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2025-02-03 17:02:54 +01:00
Update comments
This commit is contained in:
parent
f62b50f5a1
commit
4cf0626385
@ -23,7 +23,7 @@ import java.util.List;
|
|||||||
import com.google.gson.annotations.SerializedName;
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
|
||||||
public class CountriesVocabulary {
|
public class CountriesVocabulary {
|
||||||
@SerializedName("3166-1") List<Country> countries; //required
|
@SerializedName("3166-1") List<Country> countries;
|
||||||
|
|
||||||
class Country {
|
class Country {
|
||||||
private String name; //required
|
private String name; //required
|
||||||
|
@ -94,14 +94,6 @@ public class CountryCodeTagger extends AbstractCurationTask
|
|||||||
if (itemAlpha2CountryCodes.length == 0) {
|
if (itemAlpha2CountryCodes.length == 0) {
|
||||||
System.out.println(itemHandle + ": Should add codes for " + itemCountries.length + " countries.");
|
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);
|
setResult(result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user