@Test public void testCloseQuitelyNotNull() throws Exception { Closeable closeable = mock(Closeable.class); IOUtils.closeQuitely(closeable); verify(closeable).close(); }
public static void closeQuitely(Closeable closeable) throws IOException { if(closeable != null) { closeable.close(); } }
IOUtils { public static void closeQuitely(Closeable closeable) throws IOException { if(closeable != null) { closeable.close(); } } }
IOUtils { public static void closeQuitely(Closeable closeable) throws IOException { if(closeable != null) { closeable.close(); } } private  IOUtils(); }
IOUtils { public static void closeQuitely(Closeable closeable) throws IOException { if(closeable != null) { closeable.close(); } } private  IOUtils(); static void closeQuitely(Closeable closeable); }
IOUtils { public static void closeQuitely(Closeable closeable) throws IOException { if(closeable != null) { closeable.close(); } } private  IOUtils(); static void closeQuitely(Closeable closeable);  }