mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8317264: Pattern.Bound has static
fields that should be static final
.
Reviewed-by: psandoz
This commit is contained in:
parent
f2c221def1
commit
ecb5e8a03f
1 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue