Skip to content

Commit cdf7467

Browse files
Kirill GolubevKirill Golubev
authored andcommitted
call to method reference
1 parent 6070d11 commit cdf7467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • liquidjava/liquidjava-umbrella/liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker

liquidjava/liquidjava-umbrella/liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/VCChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public void removePathVariable(RefinedVariable rv) {
276276

277277
void removePathVariableThatIncludes(String otherVar) {
278278
pathVariables.stream().filter(rv -> rv.getRefinement().getVariableNames().contains(otherVar))
279-
.collect(Collectors.toList()).forEach(rv -> pathVariables.remove(rv));
279+
.collect(Collectors.toList()).forEach(pathVariables::remove);
280280

281281
// List<RefinedVariable> toRemove = new ArrayList<>();
282282
// for (RefinedVariable rv : pathVariables)

0 commit comments

Comments
 (0)