docs: @SuppressWarnings("javadoc")
  	public void removeFactory(ValidatorFactory factory) {
  		// this is to avoid adding items to the cache that were removed while
  		// iterating
  		synchronized (map) {
  			providers.remove(factory);
  			map.clear();
  		}
  	}