Skip to content

Commit cd70bcc

Browse files
committed
Update UType.java
1 parent 5cc3e0b commit cd70bcc

File tree

1 file changed

+2
-2
lines changed
  • http-generator-core/src/main/java/io/avaje/http/generator/core

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public String shortType() {
132132

133133
@Override
134134
public String shortName() {
135-
return Util.initLower(shortType());
135+
return Util.initLower(shortType()).replace(".", "$");
136136
}
137137

138138
@Override
@@ -256,7 +256,7 @@ public String shortType() {
256256

257257
@Override
258258
public String shortName() {
259-
return shortName;
259+
return shortName.replace(".", "$");
260260
}
261261

262262
@Override

0 commit comments

Comments
 (0)