commit | c49feb4bc17d0dd1893fa527a65f7421425359eb | [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 | 1ef1557c9cfe3f0c72364caedcb9f8209f0fdbeb | |
parent | 899ea8bc18f07c0deab62b9f0d7ae15d4a0006fe [diff] |
Remove unneccesary exception handler Change-Id: I8ffa95e803c70982fa59ed067dda12fd7568f775
diff --git a/apps/aaa/src/main/java/org/onosproject/aaa/AaaManager.java b/apps/aaa/src/main/java/org/onosproject/aaa/AaaManager.java index b3ea621..4567f01 100755 --- a/apps/aaa/src/main/java/org/onosproject/aaa/AaaManager.java +++ b/apps/aaa/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;