aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
diff options
context:
space:
mode:
authorGravatar gregce <gregce@google.com>2017-06-26 23:01:54 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-27 10:07:02 +0200
commit47d5785e1e58a8c9821acb3b50ac3389b33fc5e8 (patch)
treebe9d6ea6c674aebc580ca1259724c488029efc17 /src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
parente2b1a0ceaffae93f5ec8b9b3204588ec591fc182 (diff)
Fix RuleContext documentation typo.
PiperOrigin-RevId: 160191135
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java b/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
index e17ea79cec..1f06b71e9b 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
@@ -784,7 +784,7 @@ public final class RuleContext extends TargetContext
/**
* Returns the specified provider of the prerequisite referenced by the attribute in the
* argument. Note that you need to specify the correct mode for the attribute, otherwise an
- * assertion will be raised. If the attribute is empty of it does not support the specified
+ * assertion will be raised. If the attribute is empty or it does not support the specified
* provider, returns null.
*/
public <C extends TransitiveInfoProvider> C getPrerequisite(