Fixed memory leak
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user