MCPcopy Create free account
hub / github.com/antlr/codebuff / flushQuietly

Method flushQuietly

corpus/java/training/guava/io/Flushables.java:69–75  ·  view source on GitHub ↗

Equivalent to calling flush(flushable, true), but with no IOException in the signature. @param flushable the Flushable object to be flushed.

(Flushable flushable)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 2

flushMethod · 0.95
logMethod · 0.80

Tested by

no test coverage detected