commit | b34b496c1c49583b4f1d0aaf64a64ff9528d568f | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Mon Jan 04 10:24:43 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jan 04 18:35:49 2016 +0000 |
tree | d2499f972679dfa686f33ca0df81f26e62456032 | |
parent | c9e8dcca5203bf1e6fa95a87762f7c981f59fc64 [diff] |
Remove unneccesary exception handler Change-Id: I8ffa95e803c70982fa59ed067dda12fd7568f775
diff --git a/src/main/java/org/onosproject/aaa/AaaManager.java b/src/main/java/org/onosproject/aaa/AaaManager.java index b3ea621..4567f01 100755 --- a/src/main/java/org/onosproject/aaa/AaaManager.java +++ b/src/main/java/org/onosproject/aaa/AaaManager.java
@@ -350,12 +350,8 @@ break; case EAPOL.EAPOL_LOGOFF: - if (stateMachine.state() == stateMachine.STATE_AUTHORIZED) { - try { - stateMachine.logoff(); - } catch (StateMachineException e) { - e.printStackTrace(); - } + if (stateMachine.state() == StateMachine.STATE_AUTHORIZED) { + stateMachine.logoff(); } break;