summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-08-08 03:54:18 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-08-08 03:54:18 +0000
commit290fe1b83256641ad0267f2ecf14fd1be00a1726 (patch)
tree29debb800b2455b5d9f9433969cd57ff94608343 /java/sca/modules
parentbe8783a18993f9fa694bc67974b6396168308357 (diff)
Fixing BPEL validation issues in continuum build environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@683832 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkElement.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkElement.java b/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkElement.java
index 62078f8061..4ea0e5e49e 100644
--- a/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkElement.java
+++ b/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkElement.java
@@ -78,7 +78,9 @@ public class BPELPartnerLinkElement {
}
private PortType getRolePortType( String theRole ) {
- if( theRole == null ) return null;
+ if( theRole == null || theRole.length() == 0 ) {
+ return null;
+ } //end if
if ( theRole.equals( pLinkType.getRole1Name() ) ) {
return pLinkType.getRole1pType();
} else if ( theRole.equals( pLinkType.getRole2Name() ) ) {