diff options
Diffstat (limited to 'main/src/cgeo/geocaching/utils/IOUtils.java')
| -rw-r--r-- | main/src/cgeo/geocaching/utils/IOUtils.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/main/src/cgeo/geocaching/utils/IOUtils.java b/main/src/cgeo/geocaching/utils/IOUtils.java deleted file mode 100644 index 8e483d3..0000000 --- a/main/src/cgeo/geocaching/utils/IOUtils.java +++ /dev/null @@ -1,24 +0,0 @@ -package cgeo.geocaching.utils; - -import org.eclipse.jdt.annotation.Nullable; - -import java.io.Closeable; -import java.io.IOException; - -final public class IOUtils { - - private IOUtils() { - // utility class - } - - public static void closeQuietly(@Nullable final Closeable closeable) { - if (closeable != null) { - try { - closeable.close(); - } catch (final IOException e) { - Log.w("closeQuietly: unable to close " + closeable, e); - } - } - } - -} |
