Project

General

Profile

« Previous | Next » 

Revision 53063

changed verification for country element

View differences:

PropagationCountryInstitutionalOrganizationReducer.java
50 50
                return;
51 51
            }
52 52
            final String country = Bytes.toString(it.next().get()); // need to update the information for the country to each element in the iterator
53
            if(country.trim().length() > 2){
53
            if(country.trim().length() != 2){
54 54
                throw new RuntimeException("Second Element in reducer is not country " + country);
55 55
            }
56 56

  

Also available in: Unified diff