The javadoc is not correct. 

In the param country and caseSensitive you say its a country code, whereas it should be country name.