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