Skip to content

Commit 986729e

Browse files
committed
test name
1 parent fc6a12f commit 986729e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

http-generator-core/src/main/java/io/avaje/http/generator/core/TypeMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,12 @@ static class EnumHandler extends ObjectHandler {
310310

311311
@Override
312312
public String toMethod() {
313-
return "(" + type.shortType() + ") asEnum(" + type.shortType() + ".class,";
313+
return "(" + type.shortType() + ") asEnum(" + type.shortType() + ".class, ";
314314
}
315315

316316
@Override
317317
public String asMethod() {
318-
return "asEnum(" + type.shortType() + ".class,";
318+
return "asEnum(" + type.shortType() + ".class, ";
319319
}
320320
}
321321

tests/test-javalin-jsonb/src/main/java/org/example/myapp/web/test/TestController2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ String enumQueryImplied(String s, @QueryParam ServerType type) {
4444
}
4545

4646
@Post("/enumPath/{type}")
47-
String enumQueryImplied(ServerType type) {
47+
String enumPath(ServerType type) {
4848
return type.name();
4949
}
5050

0 commit comments

Comments
 (0)