logger.debug("IN");
if (sbiMap == null) {
logger.warn("sbiMap in input is null!!");
return null;
}
SDKMap sdkMap = null;
try {
sdkMap = new SDKMap();
sdkMap.setMapId(sbiMap.getMapId());
sdkMap.setName(sbiMap.getName());
sdkMap.setDescr(sbiMap.getDescr());
sdkMap.setFormat(sbiMap.getFormat());
sdkMap.setUrl(sbiMap.getUrl());
if(sbiMap.getBinContents()!=null){
sdkMap.setBinId(sbiMap.getBinContents().getId());
}
} catch (Exception e) {
logger.error("Error while converting Feature into SDKFeature.", e);
logger.debug("Returning null.");
return null;