Here you can find the source of close(BufferedReader br)
public static void close(BufferedReader br) throws IOException
//package com.java2s; //License from project: Apache License import java.io.*; public class Main { public static void close(OutputStream os) throws IOException { if (os != null) os.close();//from ww w. ja v a2 s . c om } public static void close(Writer w) throws IOException { if (w != null) w.close(); } public static void close(RandomAccessFile raf) throws IOException { if (raf != null) raf.close(); } public static void close(BufferedReader br) throws IOException { br.close(); } }