TypeBinder has been renamed to TypeMapper

This commit is contained in:
Luca Frosini 2020-02-04 09:31:11 +01:00
parent 6099342f0c
commit ae8f97d6b2
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.schema.Schema
import org.gcube.informationsystem.resourceregistry.api.rest.AccessPath;
import org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPUtility;
import org.gcube.informationsystem.resourceregistry.api.utils.Utility;
import org.gcube.informationsystem.types.TypeBinder;
import org.gcube.informationsystem.types.TypeMapper;
import org.gcube.informationsystem.types.reference.Type;
import org.gcube.informationsystem.utils.ElementMapper;
import org.slf4j.Logger;
@ -154,7 +154,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient {
String json = HTTPUtility.getResponse(String.class, httpURLConnection);
logger.debug("Got schema for {} is {}", typeName, json);
return TypeBinder.deserializeTypeDefinitions(json);
return TypeMapper.deserializeTypeDefinitions(json);
} catch(ResourceRegistryException e) {
// logger.trace("Error while getting {} schema for {}", polymorphic ? AccessPath.POLYMORPHIC_PARAM + " " : "",
// type, e);