@ Override @ SuppressWarnings ( "unchecked" ) protected Enumeration < URL > findResources ( final String name ) throws IOException { Enumeration < URL > resources = m_bundle . getResources ( name ) ; // Bundle.getResources may return null, in such case return empty enumeration if ( resources == null ) { return EMPTY_URL_ENUMERATION ; } else { return resources ; } }
Use bundle to find resources .