commit | f578b4301b193759aa70b06786aad11620b96d63 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri Sep 11 11:29:01 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Sep 11 18:41:25 2015 +0000 |
tree | fc3920378c250e1d2f7146fe30cb9735c47889c7 | |
parent | c0b211ab44d2cded768d6d1c13d03869d1457a12 [diff] [blame] |
Simplify catch branch Change-Id: I328d80f60f388eb0e9eaa63746c65a40c0d8040a
diff --git a/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestIncrementCommand.java b/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestIncrementCommand.java index d8e8e0b..12c8140 100644 --- a/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestIncrementCommand.java +++ b/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestIncrementCommand.java
@@ -91,9 +91,7 @@ print("%s was updated to %d", counter, result.get(3, TimeUnit.SECONDS)); } catch (InterruptedException e) { return; - } catch (ExecutionException e) { - e.printStackTrace(); - } catch (TimeoutException e) { + } catch (ExecutionException | TimeoutException e) { e.printStackTrace(); } }