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:
parent
a5571cae70
commit
78a492e843
|
@ -92,8 +92,8 @@ public class GeonetworkAccessParameter implements GeonetworkServiceInterface{
|
||||||
if(scope == null || scope.isEmpty())
|
if(scope == null || scope.isEmpty())
|
||||||
throw new GeonetworkInstanceException("Scope is null");
|
throw new GeonetworkInstanceException("Scope is null");
|
||||||
|
|
||||||
if(serverParam.getUrl() == null || serverParam.getUrl().isEmpty())
|
/*if(serverParam.getUrl() == null || serverParam.getUrl().isEmpty())
|
||||||
throw new GeonetworkInstanceException("Geonetwork url is null or empty");
|
throw new GeonetworkInstanceException("Geonetwork url is null or empty");*/
|
||||||
|
|
||||||
if(geonetworkInstance==null)
|
if(geonetworkInstance==null)
|
||||||
geonetworkInstance = new GeonetworkInstance(scope, false, null);
|
geonetworkInstance = new GeonetworkInstance(scope, false, null);
|
||||||
|
|
Loading…
Reference in New Issue