Fixed memory leak

This commit is contained in:
Stanislav Erokhin
2015-04-23 18:22:32 +03:00
parent d1f94e8468
commit 8582f4ab47
2 changed files with 2 additions and 2 deletions
@@ -66,7 +66,7 @@ public abstract class CallResolutionContext<Context extends CallResolutionContex
this.dataFlowInfoForArguments = new DataFlowInfoForArgumentsImpl(call);
}
else {
this.dataFlowInfoForArguments = MutableDataFlowInfoForArguments.WITHOUT_ARGUMENTS_CHECK;
this.dataFlowInfoForArguments = new MutableDataFlowInfoForArguments.WithoutArgumentsCheck();
}
}
@@ -26,7 +26,7 @@ public interface MutableDataFlowInfoForArguments extends DataFlowInfoForArgument
void updateInfo(@NotNull ValueArgument valueArgument, @NotNull DataFlowInfo dataFlowInfo);
MutableDataFlowInfoForArguments WITHOUT_ARGUMENTS_CHECK = new MutableDataFlowInfoForArguments() {
class WithoutArgumentsCheck implements MutableDataFlowInfoForArguments {
private DataFlowInfo dataFlowInfo;
@Override