diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-09-09 13:52:19 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-09-09 13:52:53 +0200 |
| commit | 789130734996ee989e534d7b841fc71a23063002 (patch) | |
| tree | 2013ecc34e7f21bc59b52c0e5ef6f9ddaf270ea0 /main/src/cgeo/geocaching/export | |
| parent | f68437aa50c15bc8d2958589fdc4f38c1a79a38c (diff) | |
| download | cgeo-789130734996ee989e534d7b841fc71a23063002.zip cgeo-789130734996ee989e534d7b841fc71a23063002.tar.gz cgeo-789130734996ee989e534d7b841fc71a23063002.tar.bz2 | |
Name ignored catch parameter as such
Diffstat (limited to 'main/src/cgeo/geocaching/export')
| -rw-r--r-- | main/src/cgeo/geocaching/export/GpxExport.java | 2 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/export/GpxSerializer.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/export/GpxExport.java b/main/src/cgeo/geocaching/export/GpxExport.java index 61d03bc..a6b3907 100644 --- a/main/src/cgeo/geocaching/export/GpxExport.java +++ b/main/src/cgeo/geocaching/export/GpxExport.java @@ -156,7 +156,7 @@ public class GpxExport extends AbstractExport { if (writer != null) { try { writer.close(); - } catch (final IOException e1) { + } catch (final IOException ignored) { // Ignore double error } } diff --git a/main/src/cgeo/geocaching/export/GpxSerializer.java b/main/src/cgeo/geocaching/export/GpxSerializer.java index b24eb4c..d3e8887 100644 --- a/main/src/cgeo/geocaching/export/GpxSerializer.java +++ b/main/src/cgeo/geocaching/export/GpxSerializer.java @@ -195,7 +195,7 @@ public final class GpxSerializer { try { final int numericPrefix = Integer.parseInt(prefix); maxPrefix = Math.max(numericPrefix, maxPrefix); - } catch (final NumberFormatException ex) { + } catch (final NumberFormatException ignored) { // ignore non numeric prefix, as it should be unique in the list of non-own waypoints already } } |
