228229230231232233234
synchronized ( resolverMutex ) { for ( int i = 0; i < resolvers.length; i++ ) if ( resolvers[i].isIDValid(id) ) return resolvers[i]; } throw new ResolverException("No Resolver for '"+id+"'"); }
252253254255256257258
System.arraycopy(resolvers, i + 1, newResolvers, i, newResolvers.length - i); resolvers = newResolvers; return resolver; } } throw new ResolverException("Could not remove Resolver"); }