Skip to content

Commit d2fa976

Browse files
committed
Removed volatile from class
1 parent 7493e80 commit d2fa976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodenameOne/src/com/codename1/util/Base64.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public static int encodeNoNewline(byte[] in, byte[] out) {
437437
}
438438

439439
// ---- SIMD constant tables (lazily initialized) ----
440-
private static volatile int[] simdEncConst;
440+
private static int[] simdEncConst;
441441

442442
// Encode constant offsets (each sub-array is 64 ints)
443443
private static final int ENC_K26 = 0; // threshold 26
@@ -454,7 +454,7 @@ public static int encodeNoNewline(byte[] in, byte[] out) {
454454
private static final int ENC_M3F = 544;
455455
private static final int ENC_CONST_SIZE = 560;
456456

457-
private static volatile byte[] simdMask;
457+
private static byte[] simdMask;
458458

459459
private static int[] getSimdEncConst(Simd simd) {
460460
int[] c = simdEncConst;

0 commit comments

Comments
 (0)