From 64ef9b04f23348175d0c6b060a31e61e3e19b2e1 Mon Sep 17 00:00:00 2001 From: Benjamin Attal Date: Sun, 20 Apr 2014 12:22:22 -0400 Subject: [PATCH] Remove unecessary imports --- .../src/main/java/com/bitshift/parsing/parsers/JavaParser.java | 8 +------- .../src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java b/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java index d7e1c10..48287aa 100644 --- a/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java +++ b/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java @@ -13,18 +13,14 @@ import org.eclipse.jdt.core.dom.ASTParser; import org.eclipse.jdt.core.dom.ASTVisitor; import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jdt.core.dom.ClassInstanceCreation; -import org.eclipse.jdt.core.dom.FieldAccess; import org.eclipse.jdt.core.dom.FieldDeclaration; import org.eclipse.jdt.core.dom.MethodDeclaration; import org.eclipse.jdt.core.dom.MethodInvocation; import org.eclipse.jdt.core.dom.Name; import org.eclipse.jdt.core.dom.PackageDeclaration; import org.eclipse.jdt.core.dom.QualifiedName; -import org.eclipse.jdt.core.dom.QualifiedType; import org.eclipse.jdt.core.dom.SimpleName; -import org.eclipse.jdt.core.dom.SimpleType; import org.eclipse.jdt.core.dom.Statement; -import org.eclipse.jdt.core.dom.Type; import org.eclipse.jdt.core.dom.TypeDeclaration; import org.eclipse.jdt.core.dom.VariableDeclarationFragment; @@ -32,9 +28,7 @@ import com.bitshift.parsing.parsers.Parser; import com.bitshift.parsing.symbols.Symbols; import com.bitshift.parsing.symbols.JavaSymbols; -/*TODO: Work on parsing partial java code. - * Change visits to endVisit and implement a cache for more concise code structure. - * Get rid of unecessary imports.*/ +/*TODO: Work on parsing partial java code.*/ public class JavaParser extends Parser { public JavaParser(Socket clientSocket) { diff --git a/parsers/java/src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java b/parsers/java/src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java index bec9c0f..9265feb 100644 --- a/parsers/java/src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java +++ b/parsers/java/src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java @@ -1,6 +1,5 @@ package com.bitshift.parsing.symbols; -import java.util.List; import java.util.HashMap; import java.util.ArrayList; import com.bitshift.parsing.symbols.Symbols;