From e62744d09e7c7398b467d13cd5d20232832a044d Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 29 Sep 2017 20:07:49 +0200 Subject: minor fix: avoid multi catch oneliners for API < 19 --- .../java/se/leap/bitmaskclient/test/ConnectionManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/ConnectionManager.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/ConnectionManager.java index f7ab4b1e..6fb7d8a9 100644 --- a/app/src/androidTest/java/se/leap/bitmaskclient/test/ConnectionManager.java +++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/ConnectionManager.java @@ -15,7 +15,9 @@ public class ConnectionManager { method.setAccessible(true); try { method.invoke(conman, enabled); - } catch (InvocationTargetException | IllegalAccessException e) { + } catch (InvocationTargetException e) { + //e.printStackTrace(); + } catch (IllegalAccessException e) { //e.printStackTrace(); } } -- cgit v1.2.3