Skip to content

Commit 133c7df

Browse files
committed
fix style
1 parent 7e606fc commit 133c7df

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/function/PFunction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
import com.oracle.truffle.api.CompilerAsserts;
4545
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
4646
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
47-
import com.oracle.truffle.api.RootCallTarget;
4847
import com.oracle.truffle.api.Truffle;
4948
import com.oracle.truffle.api.dsl.Cached;
5049
import com.oracle.truffle.api.dsl.Cached.Shared;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/builtins/FunctionNodes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ static RootCallTarget doMethod(@SuppressWarnings("unused") PMethod method,
271271
@Bind("method.getFunction()") Object function,
272272
@Shared("getCode") @Cached GetFunctionCodeNode getFunctionCodeNode,
273273
@Shared("getCt") @Cached CodeNodes.GetCodeCallTargetNode getCt) {
274-
return getCt.execute(getFunctionCodeNode.execute((PFunction)function));
274+
return getCt.execute(getFunctionCodeNode.execute((PFunction) function));
275275
}
276276

277277
@Specialization(guards = "isPBuiltinFunction(method.getFunction())")
@@ -286,7 +286,7 @@ static RootCallTarget doBuiltinMethod(PBuiltinMethod builtinMethod) {
286286
}
287287

288288
@Fallback
289-
static RootCallTarget fallback(Object callable) {
289+
static RootCallTarget fallback(@SuppressWarnings("unused") Object callable) {
290290
return null;
291291
}
292292

0 commit comments

Comments
 (0)