[jboss-svn-commits] JBL Code SVN: r24277 - labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Dec 7 01:30:01 EST 2008
Author: mark.proctor at jboss.com
Date: 2008-12-07 01:30:01 -0500 (Sun, 07 Dec 2008)
New Revision: 24277
Modified:
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/ReturnValueRestriction.java
Log:
-added missing serialised field.
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/ReturnValueRestriction.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/ReturnValueRestriction.java 2008-12-07 05:50:07 UTC (rev 24276)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/ReturnValueRestriction.java 2008-12-07 06:30:01 UTC (rev 24277)
@@ -49,10 +49,10 @@
private ReturnValueExpression expression;
+ private String[] requiredGlobals;
+
private Declaration[] requiredDeclarations;
- private String[] requiredGlobals;
-
private Declaration[] previousDeclarations;
private Declaration[] localDeclarations;
@@ -129,6 +129,7 @@
public void readExternal(ObjectInput in) throws IOException,
ClassNotFoundException {
expression = (ReturnValueExpression) in.readObject();
+ requiredGlobals = ( String[] ) in.readObject();
requiredDeclarations = (Declaration[]) in.readObject();
previousDeclarations = (Declaration[]) in.readObject();
localDeclarations = (Declaration[]) in.readObject();
@@ -143,6 +144,7 @@
} else {
out.writeObject( this.expression );
}
+ out.writeObject( requiredGlobals );
out.writeObject( requiredDeclarations );
out.writeObject( previousDeclarations );
out.writeObject( localDeclarations );
More information about the jboss-svn-commits
mailing list