in extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/annotation/RendererImplementationListener.java [63:86]
public boolean equals(Object incoming) {
if (!(incoming instanceof AnnotationEntry)) {
return false;
}
AnnotationEntry toCompare = (AnnotationEntry) incoming;
//handle null cases
if ((componentFamily == null && toCompare.getComponentFamily() != null) ||
(componentFamily != null && toCompare.getComponentFamily() == null) ||
(rendererType == null && toCompare.getRendererType() != null) ||
(rendererType != null && toCompare.getRendererType() == null) ||
(renderKitId == null && toCompare.getRenderKitId() != null) ||
(renderKitId != null && toCompare.getRenderKitId() == null)) {
return false;
} else if (componentFamily == null && toCompare.getComponentFamily() == null &&
rendererType == null && toCompare.getRendererType() == null &&
renderKitId == null && toCompare.getRenderKitId() == null) {
return true;
}
return componentFamily.equals(toCompare.getComponentFamily()) &&
rendererType.equals(toCompare.getRendererType()) &&
renderKitId.equals(toCompare.getRenderKitId());
}