src/main/java/de/blau/android/util/SavingHelper.java
/**
     * Convenience function - closes the given stream (can be any Closable), catching and logging exceptions
     * 
     * @param stream a Closeable to close
     */
Convenience function - closes the given stream (can be any Closable), catching and logging exceptions

@param stream a Closeable to close
Convenience function - closes the given stream ( can be any Closable ) catching and logging exceptions @param stream a Closeable to close
public static void close(@Nullable final Closeable stream) {
        if (stream != null) {
            try {
                stream.close();
            } catch (IOException e) {
                Log.e(DEBUG_TAG, "Problem closing", e);
            }
        }
    }
public static void close ( @ Nullable final Closeable stream ) { if ( stream != null ) { try { stream . close ( ) ; } catch ( IOException e ) { Log . e ( DEBUG_TAG , "Problem closing" , e ) ; } } }
Convenience function - closes the given stream (can be any Closable), catching and logging exceptions
Convenience function - closes the given stream ( can be any Closable ) catching and logging exceptions