public static void close(Writer out) {
        if (out != null) {
            try {
                out.flush();
            } catch (IOException ioex) {
                // ignore
            }
            try {
                out.close();
            } catch (IOException ioex) {
                // ignore
            }
        }
    }
public static void close(Writer out) {
        if (out != null) {
            try {
                out.flush();
            } catch (IOException ioex) {
                
            }
            try {
                out.close();
            } catch (IOException ioex) {
                
            }
        }
    }
public static void close ( Writer out ) { if ( out != null ) { try { out . flush ( ) ; } catch ( IOException ioex ) { // ignore } try { out . close ( ) ; } catch ( IOException ioex ) { // ignore } } }
Closes a character-output stream and releases any system resources
associated with this stream. No exception will be thrown if an I/O error
occurs.
Closes a character - output stream and releases any system resources associated with this stream . No exception will be thrown if an I / O error occurs .