[jboss-svn-commits] JBL Code SVN: r36006 - labs/jbossrules/trunk/drools-core/src/main/java/org/drools/marshalling/impl.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Nov 17 14:12:24 EST 2010


Author: diegoll
Date: 2010-11-17 14:12:24 -0500 (Wed, 17 Nov 2010)
New Revision: 36006

Modified:
   labs/jbossrules/trunk/drools-core/src/main/java/org/drools/marshalling/impl/MarshallerWriteContext.java
Log:
fixing bug on constructor of marshallerWriteContext, it used to work b/c everywhere is used the environment to pass variables

Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/marshalling/impl/MarshallerWriteContext.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/marshalling/impl/MarshallerWriteContext.java	2010-11-17 17:35:17 UTC (rev 36005)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/marshalling/impl/MarshallerWriteContext.java	2010-11-17 19:12:24 UTC (rev 36006)
@@ -79,7 +79,7 @@
         this.ruleBase = ruleBase;
         this.wm = wm;
         this.sinks = sinks;
-        if(this.objectMarshallingStrategyStore == null){
+        if(resolverStrategyFactory == null){
             this.objectMarshallingStrategyStore = new ObjectMarshallingStrategyStore((ObjectMarshallingStrategy[])env.get(EnvironmentName.OBJECT_MARSHALLING_STRATEGIES));
         }
         else{
@@ -97,4 +97,4 @@
      
     
     
-}
\ No newline at end of file
+}



More information about the jboss-svn-commits mailing list