Skip to content

Commit 16efcd9

Browse files
committed
fix tests
1 parent 9eb390d commit 16efcd9

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ public interface UType {
1111
static UType parse(TypeMirror type) {
1212
return Util.parseType(type);
1313
}
14+
/** Create the UType from the given String. */
15+
static UType parse(String type) {
16+
return Util.parse(type);
17+
}
1418

1519
UType VOID = new VoidType();
1620

@@ -49,7 +53,7 @@ default String param1() {
4953
}
5054

5155
/** Return the raw generic parameter if this UType is a Collection. */
52-
default String paramRaw() {
56+
default UType paramRaw() {
5357
return null;
5458
}
5559

0 commit comments

Comments
 (0)