Java 7: collapse catch clauses

This commit is contained in:
Jano Svitok 2018-08-06 13:18:09 +02:00
parent a735c0f693
commit bdbb454acb

View File

@ -31,9 +31,7 @@ public class RealDeviceTestCases {
public static void tryToStartAdbServer() {
try {
new AdbServerLauncher(new Subprocess(), System.getenv()).launch();
} catch (IOException e) {
System.out.println("Could not start adb-server");
} catch (InterruptedException e) {
} catch (IOException | InterruptedException e) {
System.out.println("Could not start adb-server");
}
}