diff options
Diffstat (limited to 'tests/src/cgeo/geocaching/test/CgeoTestsActivity.java')
-rw-r--r-- | tests/src/cgeo/geocaching/test/CgeoTestsActivity.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/test/CgeoTestsActivity.java b/tests/src/cgeo/geocaching/test/CgeoTestsActivity.java index c1f6fdd..8959ede 100644 --- a/tests/src/cgeo/geocaching/test/CgeoTestsActivity.java +++ b/tests/src/cgeo/geocaching/test/CgeoTestsActivity.java @@ -79,9 +79,7 @@ public class CgeoTestsActivity extends Activity { Thread.sleep(50); publishProgress(mReader.readLine()); } while (System.currentTimeMillis() < timeout); - } catch (InterruptedException e) { - publishProgress("ERROR: " + e); - } catch (IOException e) { + } catch (InterruptedException | IOException e) { publishProgress("ERROR: " + e); } finally { publishProgress("END"); |