[jboss-svn-commits] JBL Code SVN: r31210 - labs/jbossrules/branches/guvnor_expressionEditor2_baunax_esteban/drools-compiler/src/main/java/org/drools/guvnor/client/modeldriven/brl.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jan 25 17:48:39 EST 2010


Author: baunax
Date: 2010-01-25 17:48:38 -0500 (Mon, 25 Jan 2010)
New Revision: 31210

Modified:
   labs/jbossrules/branches/guvnor_expressionEditor2_baunax_esteban/drools-compiler/src/main/java/org/drools/guvnor/client/modeldriven/brl/FactPattern.java
Log:
removed if inside isBound()

Modified: labs/jbossrules/branches/guvnor_expressionEditor2_baunax_esteban/drools-compiler/src/main/java/org/drools/guvnor/client/modeldriven/brl/FactPattern.java
===================================================================
--- labs/jbossrules/branches/guvnor_expressionEditor2_baunax_esteban/drools-compiler/src/main/java/org/drools/guvnor/client/modeldriven/brl/FactPattern.java	2010-01-25 22:47:46 UTC (rev 31209)
+++ labs/jbossrules/branches/guvnor_expressionEditor2_baunax_esteban/drools-compiler/src/main/java/org/drools/guvnor/client/modeldriven/brl/FactPattern.java	2010-01-25 22:48:38 UTC (rev 31210)
@@ -44,11 +44,7 @@
      * Returns true if there is a variable bound to this fact.
      */
     public boolean isBound() {
-        if ( this.boundName != null && !"".equals( this.boundName ) ) {
-            return true;
-        } else {
-            return false;
-        }
+        return this.boundName != null && !"".equals( this.boundName ) ;
     }
 
     /**



More information about the jboss-svn-commits mailing list