Skip to content

Commit 63a2216

Browse files
authored
[CQ] Java 7 migration : collapse catch clauses (#7995)
Use Java 7 multi-catch syntax 🎉
1 parent 35c74dc commit 63a2216

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

flutter-idea/src/io/flutter/run/daemon/DevToolsService.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@ private void startServer() {
162162
setUpInDevMode(createCommand(localDevToolsDir, "devtools_tool",
163163
args));
164164
}
165-
catch (InterruptedException e) {
166-
throw new RuntimeException(e);
167-
}
168-
catch (java.util.concurrent.ExecutionException e) {
165+
catch (InterruptedException | java.util.concurrent.ExecutionException e) {
169166
throw new RuntimeException(e);
170167
}
171168
return;

0 commit comments

Comments
 (0)