Skip to content

Commit a00d8f9

Browse files
committed
style fixes
1 parent c54f57f commit a00d8f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/BuiltinConstructors.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ public PFunction function(LazyPythonClass cls, PCode code, PDict globals, @Suppr
21872187
@Specialization
21882188
public PFunction function(LazyPythonClass cls, PCode code, PDict globals, @SuppressWarnings("unused") PNone name, @SuppressWarnings("unused") PNone defaultArgs,
21892189
@SuppressWarnings("unused") PNone closure,
2190-
@Shared("getObjectArrayNode") @Cached GetObjectArrayNode getObjectArrayNode) {
2190+
@SuppressWarnings("unused") @Shared("getObjectArrayNode") @Cached GetObjectArrayNode getObjectArrayNode) {
21912191
return factory().createFunction("<lambda>", getTypeName(cls), code, globals, null);
21922192
}
21932193

@@ -2212,7 +2212,7 @@ public PFunction function(LazyPythonClass cls, PCode code, PDict globals, String
22122212
}
22132213

22142214
@ExplodeLoop
2215-
private PCell[] getClosure(Object[] closure) {
2215+
private static PCell[] getClosure(Object[] closure) {
22162216
assert closure != null;
22172217
PCell[] cells = new PCell[closure.length];
22182218
for (int i = 0; i < closure.length; i++) {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3Lexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// Checkstyle: stop
2929
// JaCoCo Exclude
3030
//@formatter:off
31-
// Generated from /home/tim/Dev/graalpython/graalpython/graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3.g4 by ANTLR 4.7.2
31+
// Generated from graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3.g4 by ANTLR 4.7.2
3232
package com.oracle.graal.python.parser.antlr;
3333
import org.antlr.v4.runtime.Lexer;
3434
import org.antlr.v4.runtime.CharStream;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3Parser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// Checkstyle: stop
2929
// JaCoCo Exclude
3030
//@formatter:off
31-
// Generated from /home/tim/Dev/graalpython/graalpython/graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3.g4 by ANTLR 4.7.2
31+
// Generated from graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3.g4 by ANTLR 4.7.2
3232
package com.oracle.graal.python.parser.antlr;
3333

3434
import com.oracle.graal.python.builtins.objects.PEllipsis;

0 commit comments

Comments
 (0)