Revision 44439 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/AbstractStoresRepository.java
AbstractStoresRepository.java | ||
---|---|---|
109 | 109 |
} |
110 | 110 |
|
111 | 111 |
@Override |
112 |
public StoresRepository getSubrepository(String Id) { |
|
113 |
for (StoresRepository repo : this.subrepositories) { |
|
114 |
if( repo!=null && StringUtils.equalsIgnoreCase(Id, repo.getID()) ) { |
|
115 |
return repo; |
|
116 |
} |
|
117 |
} |
|
118 |
return null; |
|
119 |
} |
|
120 |
|
|
121 |
@Override |
|
112 | 122 |
public boolean addRepository(StoresRepository repository) { |
113 | 123 |
if( this.notifyObservers(NOTIFICATION_ADDREPOSITORY, repository).isCanceled() ) { |
114 | 124 |
return false; |
Also available in: Unified diff