Commit c08031c1 authored by Matija Obreza's avatar Matija Obreza
Browse files

ITPGRFA: Source CSV format changed

Column "ITPGRFA Region" removed
parent 35cdd623
......@@ -26,8 +26,8 @@ import java.util.List;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang.time.StopWatch;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
......@@ -66,13 +66,13 @@ public class ITPGRFAStatusUpdater {
private static final int BATCH_SIZE = 20;
private static final String[] CSV_HEADERS = { "Country", "ISO3", "Region", "ITPGRFA Region", "Contracting Party", "Membership", "By", "Income", "Development", "Signature date",
private static final String[] CSV_HEADERS = { "Country", "ISO3", "Region", "Contracting Party", "Membership", "By", "Income", "Development", "Signature date",
"Accession date", "Ratification date", "Approval date", "Acceptance date", "Entry into Force" };
protected static final int COLUMN_COUNTRY_CODE3 = 1;
protected static final int COLUMN_CONTRACTING_PARTY = 4;
protected static final int COLUMN_MEMBERSHIP = 5;
protected static final int COLUMN_MEMBERSHIP_BY = 6;
protected static final int COLUMN_CONTRACTING_PARTY = 3;
protected static final int COLUMN_MEMBERSHIP = 4;
protected static final int COLUMN_MEMBERSHIP_BY = 5;
/**
* Update local {@link ITPGRFAStatus} entries with data from CSV
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment