@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  AbstractLoaderFactory that=(AbstractLoaderFactory)o;
  if (classToLoad != null ? !classToLoad.equals(that.classToLoad) : that.classToLoad != null)   return false;
  if (params != null ? !params.equals(that.params) : that.params != null)   return false;
  if (sourceAttributes != null ? !sourceAttributes.equals(that.sourceAttributes) : that.sourceAttributes != null)   return false;
  return true;
}

@ Override public boolean equals ( Object o ) { if ( this == o ) return true ; if ( o == null || getClass ( ) != o . getClass ( ) ) return false ; AbstractLoaderFactory that = ( AbstractLoaderFactory ) o ; if ( classToLoad != null ? ! classToLoad . equals ( that . classToLoad ) : that . classToLoad != null ) return false ; if ( params != null ? ! params . equals ( that . params ) : that . params != null ) return false ; if ( sourceAttributes != null ? ! sourceAttributes . equals ( that . sourceAttributes ) : that . sourceAttributes != null ) return false ; return true ; }
the equals is used in dependentloadingtaskspawnerkey . the key has the region ( so regionattribute is excluded . the runtimemithraconfig is excluded because it is based on the class name .
