[jboss-svn-commits] JBL Code SVN: r6003 - labs/jbossrules/trunk/drools-decisiontables/src/main/java/org/drools/decisiontable/model

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Aug 29 10:33:21 EDT 2006


Author: michael.neale at jboss.com
Date: 2006-08-29 10:33:19 -0400 (Tue, 29 Aug 2006)
New Revision: 6003

Modified:
   labs/jbossrules/trunk/drools-decisiontables/src/main/java/org/drools/decisiontable/model/Rule.java
Log:
JBRULES-447 - small fix for rule attributes

Modified: labs/jbossrules/trunk/drools-decisiontables/src/main/java/org/drools/decisiontable/model/Rule.java
===================================================================
--- labs/jbossrules/trunk/drools-decisiontables/src/main/java/org/drools/decisiontable/model/Rule.java	2006-08-29 14:24:43 UTC (rev 6002)
+++ labs/jbossrules/trunk/drools-decisiontables/src/main/java/org/drools/decisiontable/model/Rule.java	2006-08-29 14:33:19 UTC (rev 6003)
@@ -100,13 +100,13 @@
             out.writeLine( "\tsalience " + this._salience );
         }
         if ( this._activationGroup != null ) {
-            out.writeLine( "\tactivation-group" + this._activationGroup );
+            out.writeLine( "\tactivation-group " + this._activationGroup );
         }
         if ( this._noLoop != null ) {
-            out.writeLine( "\tno-loop" + this._noLoop );
+            out.writeLine( "\tno-loop " + this._noLoop );
         }
         if ( this._duration != null ) {
-            out.writeLine( "\tduration" + this._duration );
+            out.writeLine( "\tduration " + this._duration );
         }
 
         out.writeLine( "\twhen" );
@@ -239,14 +239,6 @@
         this._noLoop = value;
     }
 
-    public boolean getNoLoop() {
-        String value = "false";
-        if ( this._noLoop.compareTo( "true" ) != 0 ) {
-            value = this._noLoop;
-        }
-        final Boolean b = new Boolean( value );
-        return b.booleanValue();
-    }
 
     /**
      * @return The row in the spreadsheet this represents. 




More information about the jboss-svn-commits mailing list