Skip to content

Commit b433a9d

Browse files
cirrasfourls
authored andcommitted
Remove unused method parameter
1 parent 3c13a45 commit b433a9d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

delphi-frontend/src/main/java/au/com/integradev/delphi/antlr/ast/visitors/SymbolTableVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ private Data createUnitScope(DelphiAst node, Data data) {
965965
FileScope fileScope;
966966

967967
if (name.equals("System")) {
968-
fileScope = new SystemScopeImpl(data.typeFactory);
968+
fileScope = new SystemScopeImpl();
969969
} else if (name.equals("SysInit")) {
970970
fileScope = new SysInitScopeImpl(name, data.systemScope);
971971
} else {

delphi-frontend/src/main/java/au/com/integradev/delphi/symbol/scope/SystemScopeImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@
2121
import org.sonar.plugins.communitydelphi.api.symbol.declaration.NameDeclaration;
2222
import org.sonar.plugins.communitydelphi.api.symbol.declaration.TypeNameDeclaration;
2323
import org.sonar.plugins.communitydelphi.api.symbol.scope.SystemScope;
24-
import org.sonar.plugins.communitydelphi.api.type.TypeFactory;
2524

2625
public class SystemScopeImpl extends FileScopeImpl implements SystemScope {
2726
private TypeNameDeclaration objectDeclaration;
2827
private TypeNameDeclaration interfaceDeclaration;
2928
private TypeNameDeclaration varRecDeclaration;
3029
private TypeNameDeclaration classHelperBase;
3130

32-
public SystemScopeImpl(TypeFactory typeFactory) {
31+
public SystemScopeImpl() {
3332
super("System");
3433
}
3534

0 commit comments

Comments
 (0)