diff --git a/src/main/java/cactusServer/utils/MyParamConverter.java b/src/main/java/cactusServer/utils/MyParamConverter.java index 5c353cb..17363e4 100644 --- a/src/main/java/cactusServer/utils/MyParamConverter.java +++ b/src/main/java/cactusServer/utils/MyParamConverter.java @@ -1,13 +1,15 @@ package cactusServer.utils; +import java.lang.reflect.Type; + import javax.ws.rs.ext.ParamConverter; import net.arnx.jsonic.JSON; public class MyParamConverter implements ParamConverter { - private Class type; + private Type type; - public MyParamConverter(Class type) { + public MyParamConverter(Type type) { this.type = type; }