Sho SHIMIZU
Committed by Ray Milkey

Apply multi-catch to reduce duplication

Change-Id: Ic42335acadb3422034d9396066fc92791632af61
...@@ -95,9 +95,7 @@ public class AddFlowsCommand extends AbstractShellCommand { ...@@ -95,9 +95,7 @@ public class AddFlowsCommand extends AbstractShellCommand {
95 new FlowRuleBatchOperation(rules)); 95 new FlowRuleBatchOperation(rules));
96 try { 96 try {
97 isSuccess &= op.get().isSuccess(); 97 isSuccess &= op.get().isSuccess();
98 - } catch (InterruptedException e) { 98 + } catch (InterruptedException | ExecutionException e) {
99 - e.printStackTrace();
100 - } catch (ExecutionException e) {
101 e.printStackTrace(); 99 e.printStackTrace();
102 } 100 }
103 long endTime = System.currentTimeMillis(); 101 long endTime = System.currentTimeMillis();
......