private void loadPatches ( ) throws IOException { List < Path > paths = Utils . listResources ( PATCHES ) ; for ( Path path : paths ) { String fileName = path . getFileName ( ) . toString ( ) ; if ( fileName . endsWith ( ".json" ) ) { JsonObject root = load ( path ) ; patches . put ( fileName , root ) ; } } }
Load patches which override values in the CLDR data . Use this to restore certain cases to our preferred form .