From 0a2ad80234371c3614ed7ebd11110010ba14656a Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Wed, 9 Nov 2011 16:53:33 +0300 Subject: [PATCH] Unused parameter removed --- .../src/org/jetbrains/jet/lang/JetSemanticServices.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/JetSemanticServices.java b/compiler/frontend/src/org/jetbrains/jet/lang/JetSemanticServices.java index 2aff00b8719..ec95ba62e98 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/JetSemanticServices.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/JetSemanticServices.java @@ -2,7 +2,6 @@ package org.jetbrains.jet.lang; import com.intellij.openapi.project.Project; import org.jetbrains.annotations.NotNull; -import org.jetbrains.jet.lang.cfg.pseudocode.JetControlFlowDataTraceFactory; import org.jetbrains.jet.lang.resolve.BindingTrace; import org.jetbrains.jet.lang.resolve.ClassDescriptorResolver; import org.jetbrains.jet.lang.types.JetStandardLibrary; @@ -14,17 +13,17 @@ import org.jetbrains.jet.lang.types.expressions.ExpressionTypingServices; */ public class JetSemanticServices { public static JetSemanticServices createSemanticServices(JetStandardLibrary standardLibrary) { - return new JetSemanticServices(standardLibrary, JetControlFlowDataTraceFactory.EMPTY); + return new JetSemanticServices(standardLibrary); } public static JetSemanticServices createSemanticServices(Project project) { - return new JetSemanticServices(JetStandardLibrary.getJetStandardLibrary(project), JetControlFlowDataTraceFactory.EMPTY); + return new JetSemanticServices(JetStandardLibrary.getJetStandardLibrary(project)); } private final JetStandardLibrary standardLibrary; private final JetTypeChecker typeChecker; - private JetSemanticServices(JetStandardLibrary standardLibrary, JetControlFlowDataTraceFactory flowDataTraceFactory) { + private JetSemanticServices(JetStandardLibrary standardLibrary) { this.standardLibrary = standardLibrary; this.typeChecker = new JetTypeChecker(standardLibrary); }