Fixed tests. Added javadocs to yang-model-api.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / impl / AugmentationSchemaBuilderImpl.java
index 0473726168dcc0af2db6e0cf3cfa750b796a89ad..29c38dfa0e727eaaba4c61adf7320f8893bb90c8 100644 (file)
@@ -188,11 +188,6 @@ public class AugmentationSchemaBuilderImpl implements AugmentationSchemaBuilder
         int result = 1;
         result = prime * result
                 + ((augmentTargetStr == null) ? 0 : augmentTargetStr.hashCode());
-        result = prime * result
-                + ((childNodes == null) ? 0 : childNodes.hashCode());
-        result = prime * result
-                + ((groupings == null) ? 0 : groupings.hashCode());
-        result = prime * result + ((usesNodes == null) ? 0 : usesNodes.hashCode());
         result = prime * result
                 + ((whenCondition == null) ? 0 : whenCondition.hashCode());
         return result;
@@ -217,27 +212,6 @@ public class AugmentationSchemaBuilderImpl implements AugmentationSchemaBuilder
         } else if (!augmentTargetStr.equals(other.augmentTargetStr)) {
             return false;
         }
-        if (childNodes == null) {
-            if (other.childNodes != null) {
-                return false;
-            }
-        } else if (!childNodes.equals(other.childNodes)) {
-            return false;
-        }
-        if (groupings == null) {
-            if (other.groupings != null) {
-                return false;
-            }
-        } else if (!groupings.equals(other.groupings)) {
-            return false;
-        }
-        if (usesNodes == null) {
-            if (other.usesNodes != null) {
-                return false;
-            }
-        } else if (!usesNodes.equals(other.usesNodes)) {
-            return false;
-        }
         if (whenCondition == null) {
             if (other.whenCondition != null) {
                 return false;
@@ -374,11 +348,6 @@ public class AugmentationSchemaBuilderImpl implements AugmentationSchemaBuilder
             int result = 1;
             result = prime * result
                     + ((targetPath == null) ? 0 : targetPath.hashCode());
-            result = prime * result
-                    + ((childNodes == null) ? 0 : childNodes.hashCode());
-            result = prime * result
-                    + ((groupings == null) ? 0 : groupings.hashCode());
-            result = prime * result + ((uses == null) ? 0 : uses.hashCode());
             result = prime * result
                     + ((whenCondition == null) ? 0 : whenCondition.hashCode());
             return result;
@@ -403,27 +372,6 @@ public class AugmentationSchemaBuilderImpl implements AugmentationSchemaBuilder
             } else if (!targetPath.equals(other.targetPath)) {
                 return false;
             }
-            if (childNodes == null) {
-                if (other.childNodes != null) {
-                    return false;
-                }
-            } else if (!childNodes.equals(other.childNodes)) {
-                return false;
-            }
-            if (groupings == null) {
-                if (other.groupings != null) {
-                    return false;
-                }
-            } else if (!groupings.equals(other.groupings)) {
-                return false;
-            }
-            if (uses == null) {
-                if (other.uses != null) {
-                    return false;
-                }
-            } else if (!uses.equals(other.uses)) {
-                return false;
-            }
             if (whenCondition == null) {
                 if (other.whenCondition != null) {
                     return false;