aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skylarkinterface
diff options
context:
space:
mode:
authorGravatar dbabkin <dbabkin@google.com>2017-12-14 04:41:25 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-14 04:43:32 -0800
commitb8742540bd2aaad8e6de879c2d02f42f185f6f4f (patch)
treed73a7b2a814be043e0a0e5fc3165099a74ca3c29 /src/main/java/com/google/devtools/build/lib/skylarkinterface
parent749165f7b0991feecc8209671c559e97ff43dcab (diff)
Fix light typo in java docs.
RELNOTES:none PiperOrigin-RevId: 179028810
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skylarkinterface')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skylarkinterface/Param.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skylarkinterface/Param.java b/src/main/java/com/google/devtools/build/lib/skylarkinterface/Param.java
index 9c5217369e..4757e41fa2 100644
--- a/src/main/java/com/google/devtools/build/lib/skylarkinterface/Param.java
+++ b/src/main/java/com/google/devtools/build/lib/skylarkinterface/Param.java
@@ -76,15 +76,15 @@ public @interface Param {
/**
* If true, the parameter may be specified as a named parameter. For example for an integer named
* parameter {@code foo} of a method {@code bar}, then the method call will look like
- * {@code foo(bar=1)}.
+ * {@code bar(foo=1)}.
*/
boolean named() default false;
/**
* If true, the parameter may be specified as a positional parameter. For example for an integer
* positional parameter {@code foo} of a method {@code bar}, then the method call will look like
- * {@code foo(1)}. If {@link #named()} is {@code false}, then this will be the only way to call
- * {@code foo}.
+ * {@code bar(1)}. If {@link #named()} is {@code false}, then this will be the only way to call
+ * {@code bar}.
*
* <p>Positional arguments should come first.
*/