bug fix on service.url

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@130775 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-07-25 13:10:04 +00:00
parent a5571cae70
commit 78a492e843
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ public class GeonetworkAccessParameter implements GeonetworkServiceInterface{
if(scope == null || scope.isEmpty())
throw new GeonetworkInstanceException("Scope is null");
if(serverParam.getUrl() == null || serverParam.getUrl().isEmpty())
throw new GeonetworkInstanceException("Geonetwork url is null or empty");
/*if(serverParam.getUrl() == null || serverParam.getUrl().isEmpty())
throw new GeonetworkInstanceException("Geonetwork url is null or empty");*/
if(geonetworkInstance==null)
geonetworkInstance = new GeonetworkInstance(scope, false, null);