Here you can find the source of close(Closeable bufferedInputStream)
static void close(Closeable bufferedInputStream)
//package com.java2s; //License from project: Apache License import java.io.Closeable; import java.io.IOException; public class Main { static void close(Closeable bufferedInputStream) { if (bufferedInputStream != null) { try { bufferedInputStream.close(); } catch (IOException e) { e.printStackTrace();/*from w w w. j a v a2 s. co m*/ } } } }