Issue 18194

Refactoring in CountryParser

18194
Reporter: cgendreau
Assignee: cgendreau
Type: Improvement
Summary: Refactoring in CountryParser
Priority: Major
Status: Open
Created: 2016-02-01 14:12:01.518
Updated: 2016-02-01 14:14:19.467
        
Description: Currently CountryParser, by extending EnumParser, apply a NORMALIZER that will remove all non-latin letters([^a-zA-Z]+) in the normalize() method.

Since the CountryParser already uses CharMatcher.JAVA_LETTER and we apply ASCIIFolding when possible, we could simply use them and bypass the Normalizer. All the unit tests are still passing with the changes locally.
]]>