private static <T> void putAllInstancesToMap( Iterable<T> services, Map<String,T> servicesMap ) { for ( T instance : filterExceptions( services ) ) { if ( null != instance ) { servicesMap.put( instance.getClass().getName(), instance ); } } } }
private static <T> void putAllInstancesToMap( Iterable<T> services, Map<String,T> servicesMap ) { for ( T instance : filterExceptions( services ) ) { if ( null != instance ) { servicesMap.put( instance.getClass().getName(), instance ); } } } }