mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-16 14:52:15 +01: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();
|
algorithm = authType.getName();
|
||||||
} else {
|
} else {
|
||||||
log.warn(NOT_SUPPORT_ALGORITHM_MSG, authType.getName());
|
log.warn(NOT_SUPPORT_ALGORITHM_MSG, authType.getName());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,13 +81,4 @@ public class LispMacAuthentication {
|
|||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Obtains authentication algorithm.
|
|
||||||
*
|
|
||||||
* @return authentication algorithm
|
|
||||||
*/
|
|
||||||
String getAlgorithm() {
|
|
||||||
return algorithm;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user