Checkstyle: fix issues and enforce on lisp-proto
[lispflowmapping.git] / mappingservice / lisp-proto / src / main / java / org / opendaylight / lispflowmapping / lisp / authentication / LispMACAuthentication.java
index 413fad6e6b3925a352de92efed8887439392f22f..0e6d45c96007fc5c0b8450de9b9bd909d9cf4e8a 100644 (file)
@@ -73,18 +73,6 @@ public class LispMACAuthentication implements ILispAuthentication {
         return null;
     }
 
-    public int getAuthenticationLength() {
-        return authenticationLength;
-    }
-
-    public String getAlgorithm() {
-        return algorithm;
-    }
-
-    public void setAlgorithm(String algorithm) {
-        this.algorithm = algorithm;
-    }
-
     public byte[] getAuthenticationData(final ByteBuffer buffer, final String key) {
         byte[] bufferAsArray;
         if (buffer.hasArray()) {
@@ -96,4 +84,15 @@ public class LispMACAuthentication implements ILispAuthentication {
         return getAuthenticationData(bufferAsArray, key);
     }
 
-}
+    public int getAuthenticationLength() {
+        return authenticationLength;
+    }
+
+    public String getAlgorithm() {
+        return algorithm;
+    }
+
+    public void setAlgorithm(String algorithm) {
+        this.algorithm = algorithm;
+    }
+}
\ No newline at end of file