Equivalent to calling flush(flushable, true), but with no IOException in the signature. @param flushable the Flushable object to be flushed.
(Flushable flushable)
| 71 | |
| 72 | |
| 73 | public static void flushQuietly(Flushable flushable) { |
| 74 | try { |
| 75 | flush(flushable, true); |
| 76 | } catch (IOException e) { |
| 77 | logger.log(Level.SEVERE, "IOException should not have been thrown.", e); |
| 78 | } |
| 79 | } |
| 80 | } |