Merge "Enhancement in switch configuration"
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / core / SupportedBandwidth.java
index 969813ca081dfed460c250c3b13e5a157191069b..cd6589ed6d3da0d492fa1217dff859dc3dd56d89 100644 (file)
@@ -11,9 +11,6 @@ package org.opendaylight.controller.sal.core;
 
 import javax.xml.bind.annotation.XmlRootElement;
 
-import org.apache.commons.lang3.builder.EqualsBuilder;
-import org.apache.commons.lang3.builder.HashCodeBuilder;
-
 /**
  * @file   SupportedBandWidth.java
  *
@@ -25,36 +22,26 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
  */
 @XmlRootElement
 public class SupportedBandwidth extends Bandwidth {
-       private static final long serialVersionUID = 1L;
-       public static final String SupportedBandwidthPropName = "supportedBandwidth";
-       
-       public SupportedBandwidth(long value) {
-               super(SupportedBandwidthPropName);
-               this.bandwidthValue = value;
-       }
-       
-       /*
+        private static final long serialVersionUID = 1L;
+        public static final String SupportedBandwidthPropName = "supportedBandwidth";
+
+        public SupportedBandwidth(long value) {
+                super(SupportedBandwidthPropName);
+                this.bandwidthValue = value;
+        }
+
+        /*
      * Private constructor used for JAXB mapping
      */
     private SupportedBandwidth() {
-       super(SupportedBandwidthPropName);
-               this.bandwidthValue = 0;
+        super(SupportedBandwidthPropName);
+                this.bandwidthValue = 0;
     }
-       
-       public SupportedBandwidth clone() {
-               return new SupportedBandwidth(this.bandwidthValue);  
-    }
-       
-       @Override
-    public int hashCode() {
-        return HashCodeBuilder.reflectionHashCode(this);
+
+        public SupportedBandwidth clone() {
+                return new SupportedBandwidth(this.bandwidthValue);
     }
 
-    @Override
-    public boolean equals(Object obj) {
-        return EqualsBuilder.reflectionEquals(this, obj);
-    }    
-    
     @Override
     public String toString() {
         StringBuffer sb = new StringBuffer();