Skip to content

Commit a10cfd7

Browse files
committed
Rename
1 parent 100354d commit a10cfd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

liquidjava-verifier/src/main/java/liquidjava/diagnostics/errors/RefinementError.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ public String getCounterExampleString() {
4343

4444
List<String> foundVarNames = new ArrayList<>();
4545
found.getValue().getVariableNames(foundVarNames);
46-
String counterexampleExp = counterexample.assignments().stream()
46+
String counterexampleString = counterexample.assignments().stream()
4747
// only include variables that appear in the found value
4848
.filter(a -> foundVarNames.contains(a.first()))
4949
// format as "var == value"
5050
.map(a -> a.first() + " == " + a.second())
5151
// join with "&&"
5252
.collect(Collectors.joining(" && "));
5353

54-
if (counterexampleExp.isEmpty() || counterexampleExp.equals(found.getValue().toString()))
54+
if (counterexampleString.isEmpty() || counterexampleString.equals(found.getValue().toString()))
5555
return null;
5656

57-
return counterexampleExp;
57+
return counterexampleString;
5858
}
5959

6060
public Counterexample getCounterexample() {

0 commit comments

Comments
 (0)