You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ka...@apache.org on 2009/03/12 21:46:15 UTC
svn commit: r753011 -
/ode/branches/APACHE_ODE_1.X/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
Author: karthick
Date: Thu Mar 12 20:46:15 2009
New Revision: 753011
URL: http://svn.apache.org/viewvc?rev=753011&view=rev
Log:
Compute query in the variable variant of an <assign>'s from-spec, even if no part is specified.
Modified:
ode/branches/APACHE_ODE_1.X/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
Modified: ode/branches/APACHE_ODE_1.X/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java?rev=753011&r1=753010&r2=753011&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java Thu Mar 12 20:46:15 2009
@@ -169,16 +169,14 @@
vref.variable = _context.resolveVariable(vv.getVariable());
if (vv.getPart() != null) {
vref.part = _context.resolvePart(vref.variable, vv.getPart());
- if (vv.getLocation() != null && vv.getLocation().getExpression() != null)
- vref.location = _context.compileExpr(vv.getLocation());
}
if (vv.getHeader() != null) {
vref.headerPart = _context.resolveHeaderPart(vref.variable, vv.getHeader());
if (vref.headerPart == null)
vref.headerPart = new OMessageVarType.Part(_context.getOProcess(), vv.getHeader(), null);
- if (vv.getLocation() != null && vv.getLocation().getExpression() != null)
- vref.location = _context.compileExpr(vv.getLocation());
}
+ if (vv.getLocation() != null && vv.getLocation().getExpression() != null)
+ vref.location = _context.compileExpr(vv.getLocation());
return vref;
} else if (from.isPartnerLinkVal()) {
PartnerLinkVal plv = from.getAsPartnerLinkVal();