Remove CSS code
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / JmxAttribute.java
diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/JmxAttribute.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/JmxAttribute.java
deleted file mode 100644 (file)
index 7b67b95..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * 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,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.config.api;
-
-/**
- * Wrapper around strings to make {@link JmxAttributeValidationException} type
- * safe.
- */
-public class JmxAttribute {
-    private final String attributeName;
-
-    public JmxAttribute(final String attributeName) {
-        if (attributeName == null) {
-            throw new NullPointerException("Parameter 'attributeName' is null");
-        }
-        this.attributeName = attributeName;
-    }
-
-    /**
-     * Name of attribute in JMX.
-     */
-    public String getAttributeName() {
-        return attributeName;
-    }
-
-    @Override
-    public boolean equals(final Object object) {
-        if (this == object) {
-            return true;
-        }
-        if (object == null || getClass() != object.getClass()) {
-            return false;
-        }
-
-        JmxAttribute that = (JmxAttribute) object;
-
-        if (!attributeName.equals(that.attributeName)) {
-            return false;
-        }
-
-        return true;
-    }
-
-    @Override
-    public int hashCode() {
-        return attributeName.hashCode();
-    }
-
-    @Override
-    public String toString() {
-        return "JmxAttribute{'" + attributeName + "'}";
-    }
-}