Merge "Sonar Fix: VduArtifact.java"
diff --git a/adapters/mso-adapters-rest-interface/src/main/java/org/onap/so/adapters/vdu/VduArtifact.java b/adapters/mso-adapters-rest-interface/src/main/java/org/onap/so/adapters/vdu/VduArtifact.java
index 2f99fed..4a5a611 100644
--- a/adapters/mso-adapters-rest-interface/src/main/java/org/onap/so/adapters/vdu/VduArtifact.java
+++ b/adapters/mso-adapters-rest-interface/src/main/java/org/onap/so/adapters/vdu/VduArtifact.java
@@ -37,6 +37,16 @@
     private byte[] content;
     private ArtifactType type;
 
+    // Default constructor
+    public VduArtifact() {}
+
+    // Fully specified constructor
+    public VduArtifact(String name, byte[] content, ArtifactType type) {
+        this.name = name;
+        this.content = content;
+        this.type = type;
+    }
+
     @Override
     public boolean equals(final Object other) {
         if (!(other instanceof VduArtifact)) {
@@ -52,16 +62,6 @@
         return new HashCodeBuilder().append(name).append(content).append(type).toHashCode();
     }
 
-    // Default constructor
-    public VduArtifact() {}
-
-    // Fully specified constructor
-    public VduArtifact(String name, byte[] content, ArtifactType type) {
-        this.name = name;
-        this.content = content;
-        this.type = type;
-    }
-
     public String getName() {
         return name;
     }