/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2013, 2017 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
public class JmxAttribute {
private final String attributeName;
- public JmxAttribute(String attributeName) {
+ public JmxAttribute(final String attributeName) {
if (attributeName == null) {
throw new NullPointerException("Parameter 'attributeName' is null");
}
}
@Override
- public boolean equals(Object o) {
- if (this == o) {
+ public boolean equals(final Object object) {
+ if (this == object) {
return true;
}
- if (o == null || getClass() != o.getClass()) {
+ if (object == null || getClass() != object.getClass()) {
return false;
}
- JmxAttribute that = (JmxAttribute) o;
+ JmxAttribute that = (JmxAttribute) object;
if (!attributeName.equals(that.attributeName)) {
return false;