summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-09-29 20:07:49 +0200
committercyBerta <cyberta@riseup.net>2017-09-29 20:07:49 +0200
commite62744d09e7c7398b467d13cd5d20232832a044d (patch)
treeb66a578474541003b6a19a9c692d45feeac969ff /app/src/androidTest/java/se
parent6e86ab3edb75e0cab81da831727ea2e0f6db8720 (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.java4
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();
}
}