Skip to content

Commit 9b1cbe7

Browse files
committed
Fix style
1 parent f114ae5 commit 9b1cbe7

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@
9999
import com.oracle.graal.python.builtins.modules.codecs.ErrorHandlers.GetErrorHandlerNode;
100100
import com.oracle.graal.python.builtins.objects.PNone;
101101
import com.oracle.graal.python.builtins.objects.bytes.BytesBuiltins;
102-
import com.oracle.graal.python.builtins.objects.bytes.BytesBuiltins.DecodeNode;
103102
import com.oracle.graal.python.builtins.objects.bytes.PBytes;
104-
import com.oracle.graal.python.builtins.objects.bytes.PBytesLike;
105103
import com.oracle.graal.python.builtins.objects.cext.capi.CExtNodes.UnicodeFromFormatNode;
106104
import com.oracle.graal.python.builtins.objects.cext.capi.PySequenceArrayWrapper;
107105
import com.oracle.graal.python.builtins.objects.cext.capi.UnicodeObjectNodes.UnicodeAsWideCharNode;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
import com.oracle.truffle.api.interop.ArityException;
6969
import com.oracle.truffle.api.interop.InteropLibrary;
7070
import com.oracle.truffle.api.interop.TruffleObject;
71-
import com.oracle.truffle.api.interop.UnknownIdentifierException;
7271
import com.oracle.truffle.api.interop.UnsupportedMessageException;
7372
import com.oracle.truffle.api.interop.UnsupportedTypeException;
7473
import com.oracle.truffle.api.library.ExportLibrary;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ public int getValue() {
6767
@TruffleBoundary
6868
public static HPyMode fromValue(int i) {
6969
for (HPyMode mode : values()) {
70-
if (mode.value == i)
70+
if (mode.value == i) {
7171
return mode;
72+
}
7273
}
7374
return MODE_INVALID;
7475
}

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,14 @@
7474
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodes.HPyDummyToJavaNode;
7575
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodes.HPyFromCharPointerNode;
7676
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodes.HPyTransformExceptionToNativeNode;
77-
import com.oracle.graal.python.builtins.objects.cext.hpy.HPyContextMember;
78-
import com.oracle.graal.python.builtins.objects.cext.hpy.HPyContextSignatureType;
7977
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodesFactory.HPyAsContextNodeGen;
8078
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodesFactory.HPyAsHandleNodeGen;
8179
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodesFactory.HPyAsNativeInt64NodeGen;
8280
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodesFactory.HPyAsPythonObjectNodeGen;
8381
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodesFactory.HPyTransformExceptionToNativeNodeGen;
8482
import com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyNodesFactory.PCallHPyFunctionNodeGen;
85-
import com.oracle.graal.python.builtins.objects.cext.hpy.jni.GraalHPyJNITrampolines;
83+
import com.oracle.graal.python.builtins.objects.cext.hpy.HPyContextMember;
84+
import com.oracle.graal.python.builtins.objects.cext.hpy.HPyContextSignatureType;
8685
import com.oracle.graal.python.builtins.objects.cext.hpy.llvm.GraalHPyLLVMNodesFactory.HPyLLVMFromCharPointerNodeGen;
8786
import com.oracle.graal.python.builtins.objects.cext.hpy.llvm.HPyArrayWrappers.HPyArrayWrapper;
8887
import com.oracle.graal.python.builtins.objects.ellipsis.PEllipsis;

0 commit comments

Comments
 (0)