Skip to content

Commit 5b05aa5

Browse files
committed
adjust caseInsensitiveWord() javadoc
1 parent b064fb2 commit 5b05aa5

File tree

1 file changed

+3
-3
lines changed
  • dot-parse/src/main/java/com/google/common/labs/parse

1 file changed

+3
-3
lines changed

dot-parse/src/main/java/com/google/common/labs/parse/Parser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public static Parser<String> string(String string) {
270270
* Matches a literal {@code string} case insensitively.
271271
*
272272
* <p>If you need to access the input substring that matched case insensitively,
273-
* you can use {@code .source()}.
273+
* consider using {@code .source()}.
274274
*
275275
* @since 9.9.3
276276
*/
@@ -289,10 +289,10 @@ public static Parser<?> caseInsensitive(String string) {
289289
}
290290

291291
/**
292-
* {@code caseInsensitiveWord("or")} matches "Or" and "OR", but not "orange", case insensitively.
292+
* {@code caseInsensitiveWord("or")} matches "Or" and "OR", but not "orange".
293293
*
294294
* <p>If you need to access the input substring that matched case insensitively,
295-
* you can use {@code .source()}.
295+
* consider using {@code .source()}.
296296
*
297297
* @since 9.9.3
298298
*/

0 commit comments

Comments
 (0)