Skip to content

Commit eb17144

Browse files
committed
Removing unused imports.
1 parent 82d5300 commit eb17144

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/interop/ArgsKwArgsTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,13 @@
4444
import org.graalvm.polyglot.Context;
4545
import org.graalvm.polyglot.PolyglotException;
4646
import org.graalvm.polyglot.Value;
47-
import org.graalvm.polyglot.proxy.ProxyArray;
48-
import org.graalvm.polyglot.proxy.ProxyHashMap;
49-
import org.graalvm.polyglot.proxy.ProxyIterator;
50-
import org.graalvm.polyglot.proxy.ProxyObject;
5147
import org.graalvm.python.embedding.KeywordArguments;
5248
import org.graalvm.python.embedding.PositionalArguments;
5349
import org.junit.After;
5450
import org.junit.Before;
5551
import org.junit.Test;
5652

57-
import java.util.Iterator;
5853
import java.util.Map;
59-
import java.util.NoSuchElementException;
6054

6155
import static org.junit.Assert.assertEquals;
6256
import static org.junit.Assert.assertThrows;

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
@@ -1372,7 +1372,7 @@ static Object doExecute(Object receiver, Object[] arguments,
13721372
}
13731373
}
13741374
} catch (UnknownIdentifierException | SameDictKeyException | NonMappingException | StopIterationException e) {
1375-
throw CompilerDirectives.shouldNotReachHere();
1375+
throw CompilerDirectives.shouldNotReachHere(e);
13761376
}
13771377
}
13781378
Object[] convertedArgs = convertArgsNode.execute(inliningTarget, newArgs);

0 commit comments

Comments
 (0)