public synchronized boolean equals(java.lang.Object obj)
{
- if (!(obj instanceof ServiceHandle))
+ if (obj == null)
{
return false;
}
- ServiceHandle other = (ServiceHandle) obj;
- if (obj == null)
+ if (!(obj instanceof ServiceHandle))
{
return false;
}
+ ServiceHandle other = (ServiceHandle) obj;
if (this == obj)
{
return true;
__equalsCalc = obj;
boolean _equals;
_equals = true
- && ((this.abstractName == null && other.getAbstractName() == null) || (this.abstractName != null && this.abstractName
- .equals(other.getAbstractName())))
- && ((this.description == null && other.getDescription() == null) || (this.description != null && this.description
- .equals(other.getDescription())))
- && ((this.endpointURL == null && other.getEndpointURL() == null) || (this.endpointURL != null && this.endpointURL
- .equals(other.getEndpointURL())))
- && ((this.name == null && other.getName() == null) || (this.name != null && this.name
- .equals(other.getName())));
+ && ((this.abstractName == null
+ && other.getAbstractName() == null)
+ || (this.abstractName != null && this.abstractName
+ .equals(other.getAbstractName())))
+ && ((this.description == null && other.getDescription() == null)
+ || (this.description != null && this.description
+ .equals(other.getDescription())))
+ && ((this.endpointURL == null && other.getEndpointURL() == null)
+ || (this.endpointURL != null && this.endpointURL
+ .equals(other.getEndpointURL())))
+ && ((this.name == null && other.getName() == null)
+ || (this.name != null
+ && this.name.equals(other.getName())));
__equalsCalc = null;
return _equals;
}