mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Refactor: remove redundant return and unused method from MacAuth
Change-Id: Ib65b49a62172ff3c4f3611c08544e673ec4fb93b
This commit is contained in:
parent
385348e915
commit
6b5efbb516
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user