Skip to content

Commit 17f0eff

Browse files
committed
eclipseformat
1 parent 5e8c98f commit 17f0eff

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/TruffleCextBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ public static GetByteArrayNode create() {
11621162

11631163
private static byte[] subRangeIfNeeded(byte[] ary, long n) {
11641164
if (ary.length > n && n >= 0 && n < Integer.MAX_VALUE) {
1165-
return Arrays.copyOf(ary, (int)n);
1165+
return Arrays.copyOf(ary, (int) n);
11661166
} else {
11671167
return ary;
11681168
}
@@ -2159,7 +2159,7 @@ Object doGeneric(@SuppressWarnings("unused") Object module, PIBytesLike object,
21592159
@Exclusive @Cached BytesNodes.ToBytesNode getByteArrayNode) {
21602160
byte[] ary = getByteArrayNode.execute(object);
21612161
if (size < Integer.MAX_VALUE && size >= 0 && size < ary.length) {
2162-
return factory().createBytes(Arrays.copyOf(ary, (int)size));
2162+
return factory().createBytes(Arrays.copyOf(ary, (int) size));
21632163
} else {
21642164
return factory().createBytes(ary);
21652165
}

0 commit comments

Comments
 (0)