this.attributeName = attributeName;
}
+ /**
+ * Name of attribute in JMX.
+ */
public String getAttributeName() {
return attributeName;
}
JmxAttribute that = (JmxAttribute) o;
- if (attributeName != null ? !attributeName.equals(that.attributeName)
- : that.attributeName != null) {
+ if (!attributeName.equals(that.attributeName)) {
return false;
}
@Override
public int hashCode() {
- return attributeName != null ? attributeName.hashCode() : 0;
+ return attributeName.hashCode();
}
@Override