8317264: Pattern.Bound has static fields that should be static final.

Reviewed-by: psandoz
This commit is contained in:
Eamonn McManus 2023-09-28 23:01:18 +00:00
parent f2c221def1
commit ecb5e8a03f

View File

@ -5541,10 +5541,10 @@ loop: for(int x=0, offset=0; x<nCodePoints; x++, offset+=len) {
* 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) {