Fix small mistakes in some comments. -- MOS_MIGRATED_REVID=111530554
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java b/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java index 8c3ec362..b3b1d9e 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java
@@ -453,7 +453,7 @@ * Build a map of kwarg arguments from a list, removing null-s or None-s. * * @param init a series of key, value pairs (as consecutive arguments) - * as in {@code optionMap(k1, v1, k2, v2, k3, v3, map)} + * as in {@code optionMap(k1, v1, k2, v2, k3, v3)} * where each key is a String, each value is an arbitrary Objet. * @return a {@code Map<String, Object>} that has all the specified entries, * where key, value pairs appearing earlier have precedence,
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/Mutability.java b/src/main/java/com/google/devtools/build/lib/syntax/Mutability.java index 9e70584..cfe1129 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/Mutability.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/Mutability.java
@@ -36,7 +36,7 @@ * by arbitrarily many threads. * * <p>The safe usage of a Mutability requires to always use try-with-resource style: - * <code>try(Mutability mutability = Mutability.create(fmt, ...)) { ... }</code> + * <code>try (Mutability mutability = Mutability.create(fmt, ...)) { ... }</code> * Thus, you can create a Mutability, build an {@link Environment}, mutate that {@link Environment} * and create mutable objects as you evaluate in that {@link Environment}, and finally return the * resulting {@link Environment}, at which point the resource is closed, and the {@link Environment}