Skip to content

Commit bab635e

Browse files
committed
code consistency
1 parent edafacc commit bab635e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/BuiltinConstructors.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,11 +1564,11 @@ Object createIntGeneric(VirtualFrame frame, Object cls, Object obj, @SuppressWar
15641564
}
15651565

15661566
protected static boolean isIntegerType(Object obj) {
1567-
return PGuards.isBoolean(obj) || isInteger(obj) || PGuards.isPInt(obj);
1567+
return PGuards.isBoolean(obj) || PGuards.isInteger(obj) || PGuards.isPInt(obj);
15681568
}
15691569

15701570
protected static boolean isHandledType(Object obj) {
1571-
return isInteger(obj) || obj instanceof Double || obj instanceof Boolean || PGuards.isString(obj) || PGuards.isBytes(obj) || obj instanceof PythonNativeVoidPtr;
1571+
return PGuards.isInteger(obj) || obj instanceof Double || obj instanceof Boolean || PGuards.isString(obj) || PGuards.isBytes(obj) || obj instanceof PythonNativeVoidPtr;
15721572
}
15731573

15741574
protected static FloatBuiltins.IntNode createFloatInt() {

0 commit comments

Comments
 (0)