Remove duplicated "Can be None". The allowReturnNones = true generates "May return `None`.". Fixes https://github.com/bazelbuild/bazel/issues/1893 -- MOS_MIGRATED_REVID=135419555
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 ac2cebf..b7ac0df 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 @@ } @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();