Skip to content

Commit 5eec1b5

Browse files
Drop issue numbers from code comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fbc056e commit 5eec1b5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/general_checkers/OperationsChecker.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public <T> void getBinaryOpRefinements(CtBinaryOperator<T> operator) throws LJEr
7676
return; // Operations in annotations are not handled here
7777

7878
if (hasUnresolvedType(operator)) {
79-
// an operand's type could not be resolved (e.g. its class is not on the classpath, #388): the value of a
79+
// an operand's type could not be resolved (e.g. its class is not on the classpath): the value of a
8080
// comparison or logical operation is an unknown boolean, and any other operation is left unrefined
8181
if (!isBooleanOperator(operator.getKind()))
8282
return;
@@ -150,7 +150,7 @@ public Predicate getOperatorAssignmentRefinement(String assignedName, CtOperator
150150
String op = getOperatorFromKind(assignment.getKind());
151151
if (op == null) // x |= y, x <<= n, ...: no counterpart in the integer logic, so the new value is unknown
152152
return new Predicate();
153-
if (hasUnresolvedType(assignment.getAssignment())) // the right-hand side has an unknown type (#388)
153+
if (hasUnresolvedType(assignment.getAssignment())) // the right-hand side has an unknown type
154154
return new Predicate();
155155
Predicate left = getCurrentVariableValue(assignedName);
156156
Predicate right = getOperatorAssignmentRefinement(assignment.getAssignment());
@@ -205,7 +205,7 @@ public <T> void getUnaryOpRefinements(CtUnaryOperator<T> operator) throws LJErro
205205

206206
CtTypeReference<?> type = ex.getType();
207207
if (type == null) {
208-
// the operand's type could not be resolved (#389): a negation is still boolean, anything else is unrefined
208+
// the operand's type could not be resolved: a negation is still boolean, anything else is unrefined
209209
if (operator.getKind() != UnaryOperatorKind.NOT)
210210
return;
211211
type = operator.getFactory().Type().booleanPrimitiveType();

‎liquidjava-verifier/src/main/java/liquidjava/utils/Utils.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static String qualifyName(String prefix, String name) {
5353
}
5454

5555
public static String qualifyFieldName(CtFieldReference<?> field) {
56-
if (field.getDeclaringType() == null) // declaring class not resolved (#390): matches no known field
56+
if (field.getDeclaringType() == null) // declaring class not resolved: matches no known field
5757
return "this#" + field.getSimpleName();
5858
return "this#" + field.getDeclaringType().getQualifiedName() + "." + field.getSimpleName();
5959
}

0 commit comments

Comments
 (0)