private void removePathMappingFromPathMap ( JoinableResourceBundle bundle ) { for ( List < PathMapping > pathMappings : pathToResourceBundle . values ( ) ) { for ( Iterator < PathMapping > iterator = pathMappings . iterator ( ) ; iterator . hasNext ( ) ; ) { PathMapping pathMapping = ( PathMapping ) iterator . next ( ) ; if ( pathMapping . getBundle ( ) . getName ( ) . equals ( bundle . getName ( ) ) ) { iterator . remove ( ) ; } } } }
Removes the path mapping of the bundle given in parameter from map which links Path to resource bundle