diff options
author | 2017-09-05 10:08:25 +0200 | |
---|---|---|
committer | 2017-09-05 14:57:53 +0200 | |
commit | 998ec92036e046e18e5a5508af6f473e209212eb (patch) | |
tree | 56e129feff89ee890ad8156aa20e586e97533c6e /src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java | |
parent | f6fff466f022d7a174cb9d35d92dc8014e88854b (diff) |
Now really rename all logger instances to "logger".
Turns out, my previous search expression didn't find the ones that were not "final LOG" or "final log" and a surprising number of places were missing the "final" tag.
RELNOTES: None.
PiperOrigin-RevId: 167547507
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java b/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java index 5756cbdf3e..a3ae256d41 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java @@ -58,7 +58,7 @@ import java.util.logging.Logger; /** An experimental new output stream. */ public class ExperimentalEventHandler implements EventHandler { - private static Logger LOG = Logger.getLogger(ExperimentalEventHandler.class.getName()); + private static final Logger logger = Logger.getLogger(ExperimentalEventHandler.class.getName()); /** Latest refresh of the progress bar, if contents other than time changed */ static final long MAXIMAL_UPDATE_DELAY_MILLIS = 200L; /** Minimal rate limiting (in ms), if the progress bar cannot be updated in place */ @@ -254,7 +254,7 @@ public class ExperimentalEventHandler implements EventHandler { didFlush = true; } } catch (IOException e) { - LOG.warning("IO Error writing to output stream: " + e); + logger.warning("IO Error writing to output stream: " + e); } return didFlush; } @@ -392,7 +392,7 @@ public class ExperimentalEventHandler implements EventHandler { } } } catch (IOException e) { - LOG.warning("IO Error writing to output stream: " + e); + logger.warning("IO Error writing to output stream: " + e); } } @@ -596,7 +596,7 @@ public class ExperimentalEventHandler implements EventHandler { } terminal.flush(); } catch (IOException e) { - LOG.warning("IO Error writing to output stream: " + e); + logger.warning("IO Error writing to output stream: " + e); } } else { refresh(); @@ -673,7 +673,7 @@ public class ExperimentalEventHandler implements EventHandler { } } } catch (IOException e) { - LOG.warning("IO Error writing to output stream: " + e); + logger.warning("IO Error writing to output stream: " + e); } } } else { @@ -783,7 +783,7 @@ public class ExperimentalEventHandler implements EventHandler { try { terminal.resetTerminal(); } catch (IOException e) { - LOG.warning("IO Error writing to user terminal: " + e); + logger.warning("IO Error writing to user terminal: " + e); } } |