public static void close ( Reader in ) { if ( in != null ) { try { in . close ( ) ; } catch ( IOException ioe ) { log . warning ( "Error closing reader" , "reader" , in , "cause" , ioe ) ; } } }
Convenient close for a Reader . Use in a finally clause and love life .