Java tutorial
//package com.java2s; import java.io.IOException; import java.io.OutputStream; public class Main { private static void closeSilent(OutputStream outputStream) { if (outputStream != null) { try { outputStream.close(); } catch (IOException e) { // null } } } }