From 6b5efbb516bbd7952313f35a5ba74e64aff1e8f1 Mon Sep 17 00:00:00 2001 From: Jian Li Date: Tue, 23 May 2017 14:37:49 +0900 Subject: [PATCH] Refactor: remove redundant return and unused method from MacAuth Change-Id: Ib65b49a62172ff3c4f3611c08544e673ec4fb93b --- .../lisp/msg/authentication/LispMacAuthentication.java | 10 ---------- 1 file changed, 10 deletions(-) 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 ced2d2d34c..23d7700ca7 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 @@ public class LispMacAuthentication { algorithm = authType.getName(); } else { log.warn(NOT_SUPPORT_ALGORITHM_MSG, authType.getName()); - return; } } @@ -82,13 +81,4 @@ public class LispMacAuthentication { throw new RuntimeException(e); } } - - /** - * Obtains authentication algorithm. - * - * @return authentication algorithm - */ - String getAlgorithm() { - return algorithm; - } }