8317264: Pattern.Bound has static
fields that should be static final
.
Reviewed-by: psandoz
This commit is contained in:
parent
f2c221def1
commit
ecb5e8a03f
@ -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.
|
* they are ignored for purposes of finding word boundaries.
|
||||||
*/
|
*/
|
||||||
static final class Bound extends Node {
|
static final class Bound extends Node {
|
||||||
static int LEFT = 0x1;
|
static final int LEFT = 0x1;
|
||||||
static int RIGHT= 0x2;
|
static final int RIGHT= 0x2;
|
||||||
static int BOTH = 0x3;
|
static final int BOTH = 0x3;
|
||||||
static int NONE = 0x4;
|
static final int NONE = 0x4;
|
||||||
int type;
|
int type;
|
||||||
boolean useUWORD;
|
boolean useUWORD;
|
||||||
Bound(int n, boolean useUWORD) {
|
Bound(int n, boolean useUWORD) {
|
||||||
|
Loading…
Reference in New Issue
Block a user