You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/04/08 14:01:07 UTC
svn commit: r763199 - in
/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional:
ElseIf.java MasterIf.java While.java
Author: jleroux
Date: Wed Apr 8 12:01:06 2009
New Revision: 763199
URL: http://svn.apache.org/viewvc?rev=763199&view=rev
Log:
Fix bug introduced with
if( => if (
while( => while (
Modified:
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/ElseIf.java
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/MasterIf.java
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/While.java
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/ElseIf.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/ElseIf.java?rev=763199&r1=763198&r2=763199&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/ElseIf.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/ElseIf.java Wed Apr 8 12:01:06 2009
@@ -35,7 +35,7 @@
protected Conditional condition;
protected List<MethodOperation> thenSubOps = FastList.newInstance();
- public Elseif (Element element, SimpleMethod simpleMethod) {
+ public ElseIf (Element element, SimpleMethod simpleMethod) {
Element conditionElement = UtilXml.firstChildElement(element, "condition");
Element conditionChildElement = UtilXml.firstChildElement(conditionElement);
this.condition = ConditionalFactory.makeConditional(conditionChildElement, simpleMethod);
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/MasterIf.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/MasterIf.java?rev=763199&r1=763198&r2=763199&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/MasterIf.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/MasterIf.java Wed Apr 8 12:01:06 2009
@@ -33,7 +33,7 @@
public class MasterIf extends MethodOperation {
public static final class MasterIfFactory implements Factory<MasterIf> {
public MasterIf createMethodOperation(Element element, SimpleMethod simpleMethod) {
- return new Masterif (element, simpleMethod);
+ return new MasterIf (element, simpleMethod);
}
public String getName() {
@@ -48,7 +48,7 @@
List<ElseIf> elseIfs = null;
- public Masterif (Element element, SimpleMethod simpleMethod) {
+ public MasterIf (Element element, SimpleMethod simpleMethod) {
super(element, simpleMethod);
Element conditionElement = UtilXml.firstChildElement(element, "condition");
@@ -62,7 +62,7 @@
if (UtilValidate.isNotEmpty(elseIfElements)) {
elseIfs = FastList.newInstance();
for (Element elseIfElement: elseIfElements) {
- elseIfs.add(new Elseif (elseIfElement, simpleMethod));
+ elseIfs.add(new ElseIf (elseIfElement, simpleMethod));
}
}
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/While.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/While.java?rev=763199&r1=763198&r2=763199&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/While.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/conditional/While.java Wed Apr 8 12:01:06 2009
@@ -35,7 +35,7 @@
public class While extends MethodOperation {
public static final class WhileFactory implements Factory<While> {
public While createMethodOperation(Element element, SimpleMethod simpleMethod) {
- return new while (element, simpleMethod);
+ return new While(element, simpleMethod);
}
public String getName() {
@@ -47,7 +47,7 @@
List<MethodOperation> thenSubOps = FastList.newInstance();
- public while (Element element, SimpleMethod simpleMethod) {
+ public While(Element element, SimpleMethod simpleMethod) {
super(element, simpleMethod);
Element conditionElement = UtilXml.firstChildElement(element, "condition");