Refactor: remove redundant return and unused method from MacAuth

Change-Id: Ib65b49a62172ff3c4f3611c08544e673ec4fb93b
This commit is contained in:
Jian Li 2017-05-23 14:37:49 +09:00
parent 385348e915
commit 6b5efbb516

View File

@ -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;
}
}