diff options
author | 2017-09-04 18:51:57 +0200 | |
---|---|---|
committer | 2017-09-05 09:53:57 +0200 | |
commit | 97abb524bacc6d8527744657642f79c25c843c59 (patch) | |
tree | 0b8672d74ab81480cc3a9c89f50b4369adb610e0 /src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java | |
parent | d7a2f112cc668f4dcd0ea905f9d53bb6f8d3d550 (diff) |
Rename all logger instances to "logger" (instead "LOG" or "log").
RELNOTES: None.
PiperOrigin-RevId: 167505493
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java b/src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java index e5b57adecf..21ef63412f 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java @@ -69,7 +69,7 @@ import javax.annotation.Nullable; * <p>The Skyframe-based re-implementation of this class is in TargetPatternPhaseFunction. */ public final class LegacyLoadingPhaseRunner extends LoadingPhaseRunner { - private static final Logger LOG = Logger.getLogger(LoadingPhaseRunner.class.getName()); + private static final Logger logger = Logger.getLogger(LoadingPhaseRunner.class.getName()); private final PackageManager packageManager; private final TargetPatternEvaluator targetPatternEvaluator; @@ -96,7 +96,7 @@ public final class LegacyLoadingPhaseRunner extends LoadingPhaseRunner { boolean determineTests, @Nullable LoadingCallback callback) throws TargetParsingException, LoadingFailedException, InterruptedException { - LOG.info("Starting pattern evaluation"); + logger.info("Starting pattern evaluation"); Stopwatch timer = Stopwatch.createStarted(); if (options.buildTestsOnly && options.compileOneDependency) { throw new LoadingFailedException( @@ -175,7 +175,7 @@ public final class LegacyLoadingPhaseRunner extends LoadingPhaseRunner { LoadingPhaseRunner.maybeReportDeprecation(eventHandler, targets.getTargets()); long targetPatternEvalTime = timer.stop().elapsed(TimeUnit.MILLISECONDS); - LOG.info("Starting test suite expansion"); + logger.info("Starting test suite expansion"); timer = Stopwatch.createStarted(); ImmutableSet<Target> targetsToLoad = targets.getTargets(); @@ -219,7 +219,7 @@ public final class LegacyLoadingPhaseRunner extends LoadingPhaseRunner { patternParsingValue.getTestSuiteTargets(), packageManager.getAndClearStatistics(), testSuiteTime)); - LOG.info("Target pattern evaluation finished"); + logger.info("Target pattern evaluation finished"); return patternParsingValue.toLoadingResult(); } |