File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ public String toString() {
163163
164164 public static class PrimitiveNativeWrapper extends DynamicObjectNativeWrapper {
165165
166- public static final byte PRIMITIVE_STATE_BOOL = 0b00000001 ;
167- public static final byte PRIMITIVE_STATE_BYTE = 0b00000010 ;
168- public static final byte PRIMITIVE_STATE_INT = 0b00000100 ;
169- public static final byte PRIMITIVE_STATE_LONG = 0b00001000 ;
170- public static final byte PRIMITIVE_STATE_DOUBLE = 0b00010000 ;
166+ public static final byte PRIMITIVE_STATE_BOOL = 1 << 0 ;
167+ public static final byte PRIMITIVE_STATE_BYTE = 1 << 1 ;
168+ public static final byte PRIMITIVE_STATE_INT = 1 << 2 ;
169+ public static final byte PRIMITIVE_STATE_LONG = 1 << 3 ;
170+ public static final byte PRIMITIVE_STATE_DOUBLE = 1 << 4 ;
171171
172172 private final byte state ;
173173 private final long value ;
You can’t perform that action at this time.
0 commit comments