TypeBinder has been renamed to TypeMapper

This commit is contained in:
Luca Frosini 2020-02-04 09:31:01 +01:00
parent 62b11a4691
commit 3e7996c2be
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import java.util.UUID;
import org.gcube.informationsystem.base.reference.Element; import org.gcube.informationsystem.base.reference.Element;
import org.gcube.informationsystem.base.reference.IdentifiableElement; import org.gcube.informationsystem.base.reference.IdentifiableElement;
import org.gcube.informationsystem.types.TypeBinder; import org.gcube.informationsystem.types.TypeMapper;
import org.gcube.informationsystem.utils.ElementMapper; import org.gcube.informationsystem.utils.ElementMapper;
import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonTypeName;
@ -52,7 +52,7 @@ public abstract class Utility {
if(!clz.isInterface()){ if(!clz.isInterface()){
return clz.getAnnotation(JsonTypeName.class).value(); return clz.getAnnotation(JsonTypeName.class).value();
}else { }else {
return TypeBinder.getType(clz); return TypeMapper.getType(clz);
} }
} }