Skip to content

Commit 99edb00

Browse files
committed
Update ControllerWriter.java
1 parent 98df8c0 commit 99edb00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

http-generator-nima/src/main/java/io/avaje/http/generator/helidon/nima/ControllerWriter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ public void writeFieldJsonReturnType(MethodReader methodReader) {
178178
fullType.toString(),
179179
type -> {
180180
final var baseType =
181-
"int".equals(type) ? "Integer" : type.substring(0, 1).toUpperCase() + type.substring(1);
181+
"int".equals(type)
182+
? "Integer"
183+
: type.substring(0, 1).toUpperCase() + type.substring(1);
182184
writer.append("private final JsonType<%s> %sJsonType;", baseType, type).eol();
183185
return new JsonbType(baseType, type);
184186
});

0 commit comments

Comments
 (0)