Ver código fonte

Remove unecessary imports

tags/v1.0^2
Benjamin Attal 10 anos atrás
pai
commit
64ef9b04f2
2 arquivos alterados com 1 adições e 8 exclusões
  1. +1
    -7
      parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java
  2. +0
    -1
      parsers/java/src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java

+ 1
- 7
parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java Ver arquivo

@@ -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) {


+ 0
- 1
parsers/java/src/main/java/com/bitshift/parsing/symbols/JavaSymbols.java Ver arquivo

@@ -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;


Carregando…
Cancelar
Salvar