commit | 6b5efbb516bbd7952313f35a5ba74e64aff1e8f1 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Tue May 23 14:37:49 2017 +0900 |
committer | Jian Li <pyguni@gmail.com> | Wed May 24 09:45:32 2017 +0000 |
tree | 19e2a099f66fdd955803d52cfa26508d145ac833 | |
parent | 385348e9154ff41bf11cbe52f6e7d72be79411f3 [diff] |
Refactor: remove redundant return and unused method from MacAuth Change-Id: Ib65b49a62172ff3c4f3611c08544e673ec4fb93b
diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java index ced2d2d..23d7700 100644 --- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java +++ b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java
@@ -47,7 +47,6 @@ algorithm = authType.getName(); } else { log.warn(NOT_SUPPORT_ALGORITHM_MSG, authType.getName()); - return; } } @@ -82,13 +81,4 @@ throw new RuntimeException(e); } } - - /** - * Obtains authentication algorithm. - * - * @return authentication algorithm - */ - String getAlgorithm() { - return algorithm; - } }