We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcbbd07 commit 41c4167Copy full SHA for 41c4167
http-client/src/main/java/io/avaje/http/client/JsonbBodyAdapter.java
@@ -1,6 +1,5 @@
1
package io.avaje.http.client;
2
3
-import java.lang.reflect.ParameterizedType;
4
import java.lang.reflect.Type;
5
import java.util.List;
6
import java.util.concurrent.ConcurrentHashMap;
@@ -67,7 +66,7 @@ public <T> BodyReader<T> beanReader(Type type) {
67
66
68
@SuppressWarnings("unchecked")
69
@Override
70
- public <T> BodyReader<List<T>> listReader(ParameterizedType type) {
+ public <T> BodyReader<List<T>> listReader(Type type) {
71
return (BodyReader<List<T>>) listReaderCache.computeIfAbsent(type, aClass -> new JReader<>(jsonb.type(type).list()));
72
}
73
0 commit comments