Skip to content

Commit 706b099

Browse files
committed
Minor Changes
1 parent 904fd0b commit 706b099

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/ExternalRefinementTypeChecker.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ public <R> void visitCtMethod(CtMethod<R> method) {
7272
boolean isConstructor = method.getSimpleName().equals(targetType.getSimpleName());
7373
if (isConstructor) {
7474
if (!constructorExists(targetType, method)) {
75-
String message = String.format("Could not find constructor '%s' for '%s'", method.getSignature(),
76-
prefix);
75+
String signature = method.getSignature();
76+
String message = String.format("Could not find constructor '%s' for '%s'", signature, prefix);
7777
String[] overloads = getOverloads(targetType, method);
78-
diagnostics.add(new ExternalMethodNotFoundWarning(method.getPosition(), message, method.getSignature(),
78+
diagnostics.add(new ExternalMethodNotFoundWarning(method.getPosition(), message, signature,
7979
prefix, overloads));
8080
}
8181
} else {

0 commit comments

Comments
 (0)