Fix annoying errors in Eclipse.

This commit is contained in:
Oliver Burn 2005-05-21 01:46:43 +00:00
parent cf27285c85
commit adc04337ea
3 changed files with 12 additions and 12 deletions

View File

@ -79,16 +79,16 @@ public class ClassDef extends DefaultScope implements IClass {
return ++id;
}
public void setSuperclass(IClass superclass) {
this.superclass = superclass;
public void setSuperclass(IClass newSuperclass) {
this.superclass = newSuperclass;
}
public IClass getSuperclass() {
return superclass;
}
public void addUnprocessedImports(Vector imports) {
unprocessedImports = (Vector) (imports.clone());
public void addUnprocessedImports(Vector aImports) {
unprocessedImports = (Vector) (aImports.clone());
}
public Vector getUnprocessedImports() {
@ -177,11 +177,11 @@ public class ClassDef extends DefaultScope implements IClass {
}
if (result == null) {
IClass[] interfaces = getInterfaces();
IClass[] myInterfaces = getInterfaces();
for (int index = 0;
index < interfaces.length && result == null;
index < myInterfaces.length && result == null;
index++) {
result = interfaces[index].getMethodDefinition(name, signature);
result = myInterfaces[index].getMethodDefinition(name, signature);
}
}

View File

@ -43,8 +43,8 @@ public class QueryEngine {
private SymbolTable symbolTable;
private ScopeIndex index;
public QueryEngine(SymbolTable symbolTable) {
this.symbolTable = symbolTable;
public QueryEngine(SymbolTable aSymbolTable) {
this.symbolTable = aSymbolTable;
setIndex();
}

View File

@ -65,11 +65,11 @@ public class SymbolTable {
/**
* constructor takes <code>SymTabAST</code>
* @param root root of the <code>SymTabAST</code> tree
* @param aRoot root of the <code>SymTabAST</code> tree
*/
public SymbolTable(SymTabAST root) {
public SymbolTable(SymTabAST aRoot) {
scopes = new Stack();
this.root = root;
this.root = aRoot;
baseScope = new BaseScope( this );
pushScope(baseScope);