diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-11-24 14:19:17 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-11-24 14:19:17 +0100 |
| commit | 5bce26655db295f1d099c306811d2bc8a6480c91 (patch) | |
| tree | aaed09695bcc55667aee7f3841809bd0082d3457 /tests/src/cgeo/geocaching/test/CgeoTestsActivity.java | |
| parent | dafa3c377773ea8d08d7d96d3419a0ceb39c25dc (diff) | |
| download | cgeo-5bce26655db295f1d099c306811d2bc8a6480c91.zip cgeo-5bce26655db295f1d099c306811d2bc8a6480c91.tar.gz cgeo-5bce26655db295f1d099c306811d2bc8a6480c91.tar.bz2 | |
Minor reformattings in tests
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"); |
