mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
This commit is contained in:
parent
bd4160cea8
commit
60c9b5cd9f
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -220,9 +220,9 @@ final class MergeCollation {
|
|||
// Using BitSet would make this easier, but it's significantly slower.
|
||||
//
|
||||
private transient byte[] statusArray = new byte[8192];
|
||||
private final byte BITARRAYMASK = (byte)0x1;
|
||||
private final int BYTEPOWER = 3;
|
||||
private final int BYTEMASK = (1 << BYTEPOWER) - 1;
|
||||
private static final byte BITARRAYMASK = (byte)0x1;
|
||||
private static final int BYTEPOWER = 3;
|
||||
private static final int BYTEMASK = (1 << BYTEPOWER) - 1;
|
||||
|
||||
/*
|
||||
If the strength is RESET, then just change the lastEntry to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue