Skip to content


8317264: Pattern.Bound has static fields that should be `static fin…
Browse files Browse the repository at this point in the history

Reviewed-by: psandoz
  • Loading branch information
Eamonn McManus committed Sep 28, 2023
1 parent f2c221d commit ecb5e8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/util/regex/
Original file line number Diff line number Diff line change
Expand Up @@ -5541,10 +5541,10 @@ boolean match(Matcher matcher, int i, CharSequence seq) {
* they are ignored for purposes of finding word boundaries.
static final class Bound extends Node {
static int LEFT = 0x1;
static int RIGHT= 0x2;
static int BOTH = 0x3;
static int NONE = 0x4;
static final int LEFT = 0x1;
static final int RIGHT= 0x2;
static final int BOTH = 0x3;
static final int NONE = 0x4;
int type;
boolean useUWORD;
Bound(int n, boolean useUWORD) {
Expand Down

1 comment on commit ecb5e8a

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.