diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-17 07:28:05 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-17 07:28:05 +0000 |
commit | 220873c5ea0a57fc2273323278b8940a73a77a45 (patch) | |
tree | 14410e34b50c0d9adde8e4d3e67e7ff14bff00e7 /branches/sca-java-1.5.1/modules | |
parent | 4561b3563f5a213c8cfd6806e9f7c0b10c1f296f (diff) |
TUSCANY-3266 - Making the comparison to find the right composite a little more flexible
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@816080 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.1/modules')
-rw-r--r-- | branches/sca-java-1.5.1/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/QuickStartServiceImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/branches/sca-java-1.5.1/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/QuickStartServiceImpl.java b/branches/sca-java-1.5.1/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/QuickStartServiceImpl.java index 9c2092656e..564fa103c2 100644 --- a/branches/sca-java-1.5.1/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/QuickStartServiceImpl.java +++ b/branches/sca-java-1.5.1/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/QuickStartServiceImpl.java @@ -129,9 +129,9 @@ public class QuickStartServiceImpl extends HttpServlet { for (Entry<String, Item> entry: deployableEntries) { Item item = entry.getData(); String compositeFileName = compositeURI.substring(compositeURI.lastIndexOf("/") + 1); - if (contributionURI.equals(contributionURI(entry.getKey())) && - (item.getAlternate().endsWith(compositeURI) || - item.getAlternate().endsWith(compositeFileName))) { + if ( contributionURI.equals(contributionURI(entry.getKey())) || + item.getAlternate().endsWith(compositeURI) || + item.getAlternate().endsWith(compositeFileName)) { compositeKey = entry.getKey(); break; } |