aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Michael <ajmichael@google.com>2016-10-06 23:20:20 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-10-07 08:10:43 +0000
commitf51d528eb89a42a9390ad78e921c090b4b33944a (patch)
tree15572c936a909c763389b42b91b6c975e4ddd54f /src
parent440b73203054d1a163e28127c8680dd696e3458b (diff)
Remove duplicated "Can be None". The allowReturnNones = true generates "May
return `None`.". Fixes https://github.com/bazelbuild/bazel/issues/1893 -- MOS_MIGRATED_REVID=135419555
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/Artifact.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
index ac2cebf950..b7ac0dfdc1 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
@@ -319,7 +319,7 @@ public class Artifact
}
@SkylarkCallable(name = "owner", structField = true, allowReturnNones = true,
- doc = "A label of a target that produces this File. Can be None."
+ doc = "A label of a target that produces this File."
)
public Label getOwnerLabel() {
return owner.getLabel();