Skip to content

Commit 6caf36f

Browse files
committed
Fix style
1 parent fca9130 commit 6caf36f

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public NativeSpaceArrayWrapper(GraalHPyHandleReference[] data) {
5757
}
5858

5959
@ExportMessage
60+
@SuppressWarnings("static-method")
6061
boolean hasArrayElements() {
6162
return true;
6263
}
@@ -80,4 +81,4 @@ Object readArrayElement(long i) {
8081
// return something that responds to 'isNull' with 'true'
8182
return PNone.NO_VALUE;
8283
}
83-
}
84+
}

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/expression/BinaryArithmetic.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ public String getOperator() {
101101
}
102102

103103
/**
104-
* A helper root node that dispatches to {@link LookupAndCallBinaryNode} to execute the
105-
* provided binary operator. This node is mostly useful to use such operators from a
106-
* location without a frame (e.g. from interop). Note: this is just a root node and won't do any
107-
* signature checking.
104+
* A helper root node that dispatches to {@link LookupAndCallBinaryNode} to execute the provided
105+
* binary operator. This node is mostly useful to use such operators from a location without a
106+
* frame (e.g. from interop). Note: this is just a root node and won't do any signature
107+
* checking.
108108
*/
109109
public static final class BinaryArithmeticExpression extends ExpressionNode {
110110
@Child private LookupAndCallBinaryNode callNode;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/expression/InplaceArithmetic.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
import com.oracle.graal.python.builtins.objects.function.Signature;
4848
import com.oracle.graal.python.nodes.ErrorMessages;
4949
import com.oracle.graal.python.nodes.PRaiseNode;
50-
import com.oracle.graal.python.nodes.PRootNode;
5150
import com.oracle.graal.python.nodes.SpecialMethodNames;
52-
import com.oracle.graal.python.nodes.call.special.LookupAndCallUnaryNode;
5351
import com.oracle.graal.python.nodes.expression.BinaryArithmetic.CallBinaryArithmeticRootNode;
5452
import com.oracle.graal.python.nodes.expression.TernaryArithmetic.CallTernaryArithmeticRootNode;
5553
import com.oracle.graal.python.util.PythonUtils;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/expression/UnaryArithmetic.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
import com.oracle.graal.python.nodes.ErrorMessages;
4949
import com.oracle.graal.python.nodes.PRaiseNode;
5050
import com.oracle.graal.python.nodes.SpecialMethodNames;
51-
import com.oracle.graal.python.nodes.call.special.LookupAndCallBinaryNode;
5251
import com.oracle.graal.python.nodes.call.special.LookupAndCallUnaryNode;
5352
import com.oracle.graal.python.nodes.call.special.LookupAndCallUnaryNode.NoAttributeHandler;
5453
import com.oracle.graal.python.util.PythonUtils;

0 commit comments

Comments
 (0)