File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/main/java/org/truffleruby Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class RopeConstants {
30
30
public static final LeafRope [] UTF8_SINGLE_BYTE_ROPES = new LeafRope [256 ];
31
31
public static final LeafRope [] US_ASCII_SINGLE_BYTE_ROPES = new LeafRope [256 ];
32
32
public static final LeafRope [] ASCII_8BIT_SINGLE_BYTE_ROPES = new LeafRope [256 ];
33
- public static final Map <String , LeafRope > ROPE_CONSTANTS = new HashMap <>();
33
+ static final Map <String , LeafRope > ROPE_CONSTANTS = new HashMap <>();
34
34
35
35
static {
36
36
for (int i = 0 ; i < 128 ; i ++) {
Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ public int exists(String name) {
214
214
return findVariableName (name );
215
215
}
216
216
217
+ @ SuppressFBWarnings ("ES" )
217
218
private int findVariableName (String name ) {
218
219
assert name == name .intern () : name ;
219
220
for (int i = 0 ; i < variableNames .length ; i ++) {
@@ -327,6 +328,7 @@ public long getCommandArgumentStack() {
327
328
return commandArgumentStack ;
328
329
}
329
330
331
+ @ SuppressFBWarnings ("ES" )
330
332
private void growVariableNames (String name ) {
331
333
assert name == name .intern () : name ;
332
334
String [] newVariableNames = new String [variableNames .length + 1 ];
You can’t perform that action at this time.
0 commit comments