Skip to content

Commit fd86129

Browse files
rm-gh-8Paul Hohensee
authored andcommitted
8317264: Pattern.Bound has static fields that should be static final.
Backport-of: ecb5e8a03f67c92d7956201de1fa7d07cc6af9cb
1 parent a0082e6 commit fd86129

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/java.base/share/classes/java/util/regex/Pattern.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5364,10 +5364,10 @@ boolean match(Matcher matcher, int i, CharSequence seq) {
53645364
* they are ignored for purposes of finding word boundaries.
53655365
*/
53665366
static final class Bound extends Node {
5367-
static int LEFT = 0x1;
5368-
static int RIGHT= 0x2;
5369-
static int BOTH = 0x3;
5370-
static int NONE = 0x4;
5367+
static final int LEFT = 0x1;
5368+
static final int RIGHT= 0x2;
5369+
static final int BOTH = 0x3;
5370+
static final int NONE = 0x4;
53715371
int type;
53725372
boolean useUWORD;
53735373
Bound(int n, boolean useUWORD) {

0 commit comments

Comments
 (0)