Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow-Devil committed Jul 11, 2024
1 parent 67078c8 commit 1663d93
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import io.ballerina.runtime.api.Module;
import io.ballerina.runtime.api.types.MethodType;
import io.ballerina.runtime.api.types.Parameter;
import io.ballerina.runtime.api.types.ResourceMethodType;
import io.ballerina.runtime.api.types.Type;

Expand Down Expand Up @@ -53,7 +54,7 @@ public String toString() {
}
StringJoiner sj = new StringJoiner(",", "resource function " + accessor + " " + rp.toString() +
"(", ") returns (" + type.retType + ")");
for (var parameter : parameters) {
for (Parameter parameter : parameters) {
Type type = parameter.type;
sj.add(type.getName() + " " + parameter.name);
}
Expand Down

0 comments on commit 1663d93

Please sign in to comment.