[jboss-svn-commits] JBL Code SVN: r17691 - labs/jbossrules/branches/4.0.x/drools-core/src/main/java/org/drools.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jan 10 14:43:40 EST 2008
Author: tirelli
Date: 2008-01-10 14:43:40 -0500 (Thu, 10 Jan 2008)
New Revision: 17691
Modified:
labs/jbossrules/branches/4.0.x/drools-core/src/main/java/org/drools/RuleBaseConfiguration.java
Log:
JBRULES-1336: fixing typo
Modified: labs/jbossrules/branches/4.0.x/drools-core/src/main/java/org/drools/RuleBaseConfiguration.java
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-core/src/main/java/org/drools/RuleBaseConfiguration.java 2008-01-10 19:26:27 UTC (rev 17690)
+++ labs/jbossrules/branches/4.0.x/drools-core/src/main/java/org/drools/RuleBaseConfiguration.java 2008-01-10 19:43:40 UTC (rev 17691)
@@ -26,7 +26,6 @@
import org.drools.common.AgendaGroupFactory;
import org.drools.common.ArrayAgendaGroupFactory;
import org.drools.common.PriorityQueueAgendaGroupFactory;
-import org.drools.concurrent.ExecutorService;
import org.drools.spi.ConflictResolver;
import org.drools.spi.ConsequenceExceptionHandler;
import org.drools.util.ChainedProperties;
@@ -151,7 +150,7 @@
* @param classLoder
* @param properties
*/
- public RuleBaseConfiguration(ClassLoader classLoder,
+ public RuleBaseConfiguration(ClassLoader classLoader,
Properties properties) {
init( classLoader,
properties );
@@ -217,9 +216,9 @@
setConsequenceExceptionHandler( RuleBaseConfiguration.determineConsequenceExceptionHandler( this.chainedProperties.getProperty( "drools.consequenceExceptionHandler",
"org.drools.base.DefaultConsequenceExceptionHandler" ) ) );
-
+
setRuleBaseUpdateHandler( this.chainedProperties.getProperty( "drools.ruleBaseUpdateHandler",
- "org.drools.base.FireAllRulesRuleBaseUpdateListener" ) );
+ "org.drools.base.FireAllRulesRuleBaseUpdateListener" ) );
setConflictResolver( RuleBaseConfiguration.determineConflictResolver( this.chainedProperties.getProperty( "drools.conflictResolver",
"org.drools.conflict.DepthConflictResolver" ) ) );
@@ -385,7 +384,7 @@
checkCanChange(); // throws an exception if a change isn't possible;
this.consequenceExceptionHandler = consequenceExceptionHandler;
}
-
+
public String getRuleBaseUpdateHandler() {
return ruleBaseUpdateHandler;
}
@@ -393,7 +392,7 @@
public void setRuleBaseUpdateHandler(String ruleBaseUpdateHandler) {
checkCanChange(); // throws an exception if a change isn't possible;
this.ruleBaseUpdateHandler = ruleBaseUpdateHandler;
- }
+ }
public AgendaGroupFactory getAgendaGroupFactory() {
if ( isSequential() ) {
@@ -421,7 +420,7 @@
// sequential never needs shadowing, so always override
return false;
}
-
+
if ( userValue != null ) {
return Boolean.valueOf( userValue ).booleanValue();
} else {
@@ -545,7 +544,7 @@
private static ConsequenceExceptionHandler determineConsequenceExceptionHandler(String className) {
return (ConsequenceExceptionHandler) instantiateClass( "ConsequenceExceptionHandler",
className );
- }
+ }
private static Object instantiateClass(String type,
String className) {
More information about the jboss-svn-commits
mailing list