aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAspect.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java6
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkActionFactory.java24
3 files changed, 16 insertions, 16 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAspect.java b/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAspect.java
index c373257370..a33e6fefd5 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAspect.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAspect.java
@@ -247,7 +247,7 @@ public final class ConfiguredAspect {
addProvider(
createExtraActionProvider(
- ImmutableSet.<ActionAnalysisMetadata>of() /* actionsWithoutExtraAction */,
+ /* actionsWithoutExtraAction= */ ImmutableSet.<ActionAnalysisMetadata>of(),
ruleContext));
return new ConfiguredAspect(descriptor, providers.build());
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java b/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
index 6f04a0eb6f..770d16aef7 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
@@ -174,7 +174,7 @@ public final class CustomCommandLine extends CommandLine {
private SimpleVectorArg(Builder builder, @Nullable Collection<T> values) {
this(
- false /* isNestedSet */,
+ /* isNestedSet= */ false,
values == null || values.isEmpty(),
values != null ? values.size() : 0,
builder.formatEach,
@@ -185,9 +185,9 @@ public final class CustomCommandLine extends CommandLine {
private SimpleVectorArg(Builder builder, @Nullable NestedSet<T> values) {
this(
- true /* isNestedSet */,
+ /* isNestedSet= */ true,
values == null || values.isEmpty(),
- -1 /* count */,
+ /* count= */ -1,
builder.formatEach,
builder.beforeEach,
builder.joinWith,
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkActionFactory.java b/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkActionFactory.java
index 0985afb108..731ccf1cbe 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkActionFactory.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkActionFactory.java
@@ -1134,16 +1134,16 @@ public class SkylarkActionFactory implements SkylarkValue {
}
addVectorArg(
value,
- null /* argName */,
+ /* argName= */ null,
mapFn != Runtime.NONE ? (BaseFunction) mapFn : null,
- null /* mapEach */,
+ /* mapEach= */ null,
format != Runtime.NONE ? (String) format : null,
beforeEach != Runtime.NONE ? (String) beforeEach : null,
joinWith != Runtime.NONE ? (String) joinWith : null,
- null /* formatJoined */,
- false /* omitIfEmpty */,
- false /* uniquify */,
- null /* terminateWith */,
+ /* formatJoined= */ null,
+ /* omitIfEmpty= */ false,
+ /* uniquify= */ false,
+ /* terminateWith= */ null,
loc);
} else {
@@ -1337,12 +1337,12 @@ public class SkylarkActionFactory implements SkylarkValue {
addVectorArg(
values,
argName,
- null /* mapAll */,
+ /* mapAll= */ null,
mapEach != Runtime.NONE ? (BaseFunction) mapEach : null,
formatEach != Runtime.NONE ? (String) formatEach : null,
beforeEach != Runtime.NONE ? (String) beforeEach : null,
- null /* joinWith */,
- null /* formatJoined */,
+ /* joinWith= */ null,
+ /* formatJoined= */ null,
omitIfEmpty,
uniquify,
terminateWith != Runtime.NONE ? (String) terminateWith : null,
@@ -1481,15 +1481,15 @@ public class SkylarkActionFactory implements SkylarkValue {
addVectorArg(
values,
argName,
- null /* mapAll */,
+ /* mapAll= */ null,
mapEach != Runtime.NONE ? (BaseFunction) mapEach : null,
formatEach != Runtime.NONE ? (String) formatEach : null,
- null /* beforeEach */,
+ /* beforeEach= */ null,
joinWith,
formatJoined != Runtime.NONE ? (String) formatJoined : null,
omitIfEmpty,
uniquify,
- null /* terminateWith */,
+ /* terminateWith= */ null,
loc);
return Runtime.NONE;
}