promote visibility of some handy but harmless methods

This commit is contained in:
Martin Mohr 2016-09-20 18:54:11 +02:00 committed by Martin Hecker
parent d830780242
commit 3283de6c44
1 changed files with 3 additions and 3 deletions

View File

@ -258,7 +258,7 @@ public abstract class AbstractRootMethod extends SyntheticMethod {
return result;
}
protected int getValueNumberForIntConstant(int c) {
public int getValueNumberForIntConstant(int c) {
ConstantValue v = new ConstantValue(c);
Integer result = constant2ValueNumber.get(v);
if (result == null) {
@ -268,7 +268,7 @@ public abstract class AbstractRootMethod extends SyntheticMethod {
return result;
}
protected int getValueNumberForByteConstant(byte c) {
public int getValueNumberForByteConstant(byte c) {
// treat it like an int constant for now.
ConstantValue v = new ConstantValue(c);
Integer result = constant2ValueNumber.get(v);
@ -279,7 +279,7 @@ public abstract class AbstractRootMethod extends SyntheticMethod {
return result;
}
protected int getValueNumberForCharConstant(char c) {
public int getValueNumberForCharConstant(char c) {
// treat it like an int constant for now.
ConstantValue v = new ConstantValue(c);
Integer result = constant2ValueNumber.get(v);