git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-transfer/data-transfer-model/1.2@160484 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0c51632694
commit
064bbcdb32
|
@ -41,7 +41,7 @@ public class ThreddsInfo {
|
|||
|
||||
|
||||
private static ThreddsCatalog findById(ThreddsCatalog catalog,String id) {
|
||||
if(catalog==null||catalog.getID()==null||catalog.getID().equals(id)) return catalog;
|
||||
if(catalog!=null&&catalog.getID()!=null&&catalog.getID().equals(id)) return catalog;
|
||||
for(ThreddsCatalog cat : catalog.getSubCatalogs().getLinkedCatalogs())
|
||||
return findById(cat,id);
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue