mirror of
https://github.com/revanced/jadb.git
synced 2025-05-29 13:00:11 +02:00
Java 7: collapse catch clauses
This commit is contained in:
parent
a735c0f693
commit
bdbb454acb
@ -31,9 +31,7 @@ public class RealDeviceTestCases {
|
|||||||
public static void tryToStartAdbServer() {
|
public static void tryToStartAdbServer() {
|
||||||
try {
|
try {
|
||||||
new AdbServerLauncher(new Subprocess(), System.getenv()).launch();
|
new AdbServerLauncher(new Subprocess(), System.getenv()).launch();
|
||||||
} catch (IOException e) {
|
} catch (IOException | InterruptedException e) {
|
||||||
System.out.println("Could not start adb-server");
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
System.out.println("Could not start adb-server");
|
System.out.println("Could not start adb-server");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user