aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2017-09-04 18:51:57 +0200
committerGravatar Yun Peng <pcloudy@google.com>2017-09-05 09:53:57 +0200
commit97abb524bacc6d8527744657642f79c25c843c59 (patch)
tree0b8672d74ab81480cc3a9c89f50b4369adb610e0 /src/main/java/com/google/devtools/build/lib/skyframe/LegacyLoadingPhaseRunner.java
parentd7a2f112cc668f4dcd0ea905f9d53bb6f8d3d550 (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.java8
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();
}