Skip to content

Commit 05fbd01

Browse files
committed
remove unused imports
1 parent 1b8f0d2 commit 05fbd01

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/PythonParserImpl.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727

2828
import static com.oracle.graal.python.runtime.exception.PythonErrorType.SyntaxError;
2929

30-
import java.util.HashMap;
31-
import java.util.Map;
3230
import java.util.concurrent.ConcurrentHashMap;
3331
import java.util.regex.Pattern;
3432

@@ -53,7 +51,7 @@
5351
import com.oracle.truffle.api.source.SourceSection;
5452

5553
public final class PythonParserImpl implements PythonParser {
56-
private static final Map<String, ParserRuleContext> cachedParseTrees = new ConcurrentHashMap<>();
54+
private static final ConcurrentHashMap<String, ParserRuleContext> cachedParseTrees = new ConcurrentHashMap<>();
5755

5856
private static Python3Parser getPython3Parser(CodePointCharStream fromString) {
5957
Python3Parser parser = new Builder.Parser(fromString).build();

0 commit comments

Comments
 (0)