Skip to content

Commit 1d6bf60

Browse files
committed
fix style
1 parent 2640def commit 1d6bf60

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/PythonAbstractObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ public Object asIndexWithState(ThreadState state,
842842
if (resultProfile.profile(!isSubtype.execute(resultLib.getLazyPythonClass(result), PythonBuiltinClassType.PInt))) {
843843
throw raise.raise(PythonBuiltinClassType.TypeError, ErrorMessages.INDEX_RETURNED_NON_INT, result);
844844
}
845-
if (!isInt.profileObject(result, PythonBuiltinClassType.PInt)){
845+
if (!isInt.profileObject(result, PythonBuiltinClassType.PInt)) {
846846
VirtualFrame frame = null;
847847
if (gotState.profile(state != null)) {
848848
frame = PArguments.frameForCall(state);

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/PythonAbstractNativeObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public Object asIndexWithState(ThreadState threadState,
184184
@Cached IsBuiltinClassProfile isInt,
185185
@Cached WarnNode warnNode) {
186186
if (isSubtypeNode.execute(plib.getLazyPythonClass(this), PythonBuiltinClassType.PInt)) {
187-
if (!isInt.profileObject(this, PythonBuiltinClassType.PInt)){
187+
if (!isInt.profileObject(this, PythonBuiltinClassType.PInt)) {
188188
VirtualFrame frame = null;
189189
if (gotState.profile(threadState != null)) {
190190
frame = PArguments.frameForCall(threadState);

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints/PInt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public Object asIndexWithState(@SuppressWarnings("unused") ThreadState threadSta
233233
@Cached ConditionProfile gotState,
234234
@Cached IsBuiltinClassProfile isInt,
235235
@Cached WarnNode warnNode) {
236-
if (!isInt.profileObject(this, PythonBuiltinClassType.PInt)){
236+
if (!isInt.profileObject(this, PythonBuiltinClassType.PInt)) {
237237
VirtualFrame frame = null;
238238
if (gotState.profile(threadState != null)) {
239239
frame = PArguments.frameForCall(threadState);

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/ErrorMessages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,6 @@ public abstract class ErrorMessages {
620620
public static final String CANNOT_INTERN_P = "can't intern %p";
621621

622622
public static final String P_RETURNED_NON_P = "%p.%s returned non-%s (type %p). " +
623-
"The ability to return an instance of a strict subclass of %s " +
624-
"is deprecated, and may be removed in a future version of Python.";
623+
"The ability to return an instance of a strict subclass of %s " +
624+
"is deprecated, and may be removed in a future version of Python.";
625625
}

0 commit comments

Comments
 (0)