Skip to content

Commit 87c4ba2

Browse files
committed
style fixes
1 parent b5a1725 commit 87c4ba2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/cext/PythonCextUnicodeBuiltins.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,11 @@ static Object formatLong(Object val, int alt, int prec, int type,
465465
* Need to convert all lower case letters to upper case. and need to convert 0x to
466466
* 0X (and -0x to -0X).
467467
*/
468-
for (int i = bufi; i < len; i++)
469-
if (buf[i] >= 'a' && buf[i] <= 'x')
468+
for (int i = bufi; i < len; i++) {
469+
if (buf[i] >= 'a' && buf[i] <= 'x') {
470470
buf[i] -= 'a' - 'A';
471+
}
472+
}
471473
}
472474
return fromCharArrayNode.execute(buf);
473475
}

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/csv/CSVWriterBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static void joinAppend(Node inliningTarget, TruffleStringBuilder sb, CSVWriter s
207207

208208
}
209209

210-
protected static abstract class JoinAppendData extends Node {
210+
protected abstract static class JoinAppendData extends Node {
211211

212212
abstract boolean execute(Node inliningTarget, TruffleStringBuilder sb, CSVDialect dialect, TruffleString field, boolean quoted, boolean copyPhase,
213213
PRaiseNode raiseNode,

0 commit comments

Comments
 (0)