diff options
author | cyBerta <cyberta@riseup.net> | 2017-09-29 20:07:49 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2017-09-29 20:07:49 +0200 |
commit | e62744d09e7c7398b467d13cd5d20232832a044d (patch) | |
tree | b66a578474541003b6a19a9c692d45feeac969ff /app/src/androidTest/java/se | |
parent | 6e86ab3edb75e0cab81da831727ea2e0f6db8720 (diff) |
minor fix: avoid multi catch oneliners for API < 19
Diffstat (limited to 'app/src/androidTest/java/se')
-rw-r--r-- | app/src/androidTest/java/se/leap/bitmaskclient/test/ConnectionManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } } |