src/share/classes/javax/management/MBeanAttributeInfo.java

Print this page

        

*** 284,297 **** if (o == this) return true; if (!(o instanceof MBeanAttributeInfo)) return false; MBeanAttributeInfo p = (MBeanAttributeInfo) o; ! return (p.getName().equals(getName()) && ! p.getType().equals(getType()) && ! p.getDescription().equals(getDescription()) && ! p.getDescriptor().equals(getDescriptor()) && p.isReadable() == isReadable() && p.isWritable() == isWritable() && p.isIs() == isIs()); } --- 284,297 ---- if (o == this) return true; if (!(o instanceof MBeanAttributeInfo)) return false; MBeanAttributeInfo p = (MBeanAttributeInfo) o; ! return (Objects.equals(p.getName(), getName()) && ! Objects.equals(p.getType(), getType()) && ! Objects.equals(p.getDescription(), getDescription()) && ! Objects.equals(p.getDescriptor(), getDescriptor()) && p.isReadable() == isReadable() && p.isWritable() == isWritable() && p.isIs() == isIs()); }