Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CLOSED (0.18 sec)

  1. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCloseNull() throws Exception {
            CloseableUtil.close((OutputStream) null);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top