Typo in internal Javadoc of Pattern.Bound
Dawid Weiss
dawid.weiss at gmail.com
Mon Jul 11 10:38:37 UTC 2016
Probably not worth a pull request -- somebody can piggyback on another change.
diff -r ff7d1c47fef8 src/java.base/share/classes/java/util/regex/Pattern.java
--- a/src/java.base/share/classes/java/util/regex/Pattern.java Thu
Jul 07 19:00:10 2016 +0000
+++ b/src/java.base/share/classes/java/util/regex/Pattern.java Mon
Jul 11 12:37:38 2016 +0200
@@ -5368,7 +5368,7 @@
* Handles word boundaries. Includes a field to allow this one class to
* deal with the different types of word boundaries we can match. The word
* characters include underscores, letters, and digits. Non spacing marks
- * can are also part of a word if they have a base character, otherwise
+ * are also part of a word if they have a base character, otherwise
* they are ignored for purposes of finding word boundaries.
*/
static final class Bound extends Node {
Dawid
More information about the core-libs-dev
mailing list