re base code
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / ArtifactType.java
index a761d74..ec55209 100644 (file)
@@ -22,43 +22,43 @@ package org.openecomp.sdc.be.model;
 
 public class ArtifactType {
 
-       private String name;
+    private String name;
 
-       public String getName() {
-               return name;
-       }
+    public String getName() {
+        return name;
+    }
 
-       public void setName(String name) {
-               this.name = name;
-       }
+    public void setName(String name) {
+        this.name = name;
+    }
 
-       @Override
-       public int hashCode() {
-               final int prime = 31;
-               int result = 1;
-               result = prime * result + ((name == null) ? 0 : name.hashCode());
-               return result;
-       }
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((name == null) ? 0 : name.hashCode());
+        return result;
+    }
 
-       @Override
-       public boolean equals(Object obj) {
-               if (this == obj) {
-                       return true;
-               }
-               if (obj == null) {
-                       return false;
-               }
-               if (getClass() != obj.getClass()) {
-                       return false;
-               }
-               ArtifactType other = (ArtifactType) obj;
-               if (name == null) {
-                       if (other.getClass() != null) {
-                               return false;
-                       }
-               } else if (!name.equals(other.getName())) {
-                       return false;
-               }
-               return true;
-       }
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj) {
+            return true;
+        }
+        if (obj == null) {
+            return false;
+        }
+        if (getClass() != obj.getClass()) {
+            return false;
+        }
+        ArtifactType other = (ArtifactType) obj;
+        if (name == null) {
+            if (other.getClass() != null) {
+                return false;
+            }
+        } else if (!name.equals(other.getName())) {
+            return false;
+        }
+        return true;
+    }
 }