From cfce75b788cea6836b7314ba00da415b88684d01 Mon Sep 17 00:00:00 2001 From: Jack Zhou Date: Thu, 11 Apr 2013 10:01:21 -0400 Subject: [PATCH] Create from usage: Fixed warnings. --- .../jet/plugin/quickfix/CreateMethodFromUsageFix.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java b/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java index 150c07639f8..dd445f42c71 100644 --- a/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java +++ b/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java @@ -97,11 +97,6 @@ public class CreateMethodFromUsageFix extends CreateFromUsageFixBase { return this.type; } - @Nullable - public JetExpression getExpressionOfType() { - return expressionOfType; - } - /** * Returns a collection containing the possible types represented by this instance. Infers the type from an expression if necessary. * @return A collection containing the possible types represented by this instance. @@ -933,7 +928,7 @@ public class CreateMethodFromUsageFix extends CreateFromUsageFixBase { return new JetType[] {context.get(BindingContext.TYPE, variableTypeRef)}; } else { // case 2: the expression is the RHS of a variable assignment without a specified type - // TODO + return new JetType[0]; // TODO } }