Don't include contributions with now running composites
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1104136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb2e833e9d
commit
9365ad87df
1 changed files with 6 additions and 4 deletions
|
@ -191,10 +191,12 @@ public class DomainRegistryImpl extends BaseDomainRegistry implements DomainRegi
|
|||
public Map<String, List<QName>> getRunningCompositeNames() {
|
||||
Map<String, List<QName>> compositeNames = new HashMap<String, List<QName>>();
|
||||
for (String curi : runningComposites.keySet()) {
|
||||
List<QName> names = new ArrayList<QName>();
|
||||
compositeNames.put(curi, names);
|
||||
for (QName qn : runningComposites.get(curi).keySet()) {
|
||||
names.add(qn);
|
||||
if (runningComposites.get(curi).size() > 0) {
|
||||
List<QName> names = new ArrayList<QName>();
|
||||
compositeNames.put(curi, names);
|
||||
for (QName qn : runningComposites.get(curi).keySet()) {
|
||||
names.add(qn);
|
||||
}
|
||||
}
|
||||
}
|
||||
return compositeNames;
|
||||
|
|
Loading…
Add table
Reference in a new issue