[jboss-jira] [JBoss JIRA] Created: (JBRULES-1336) Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used
James Sparrow (JIRA)
jira-events at lists.jboss.org
Tue Nov 20 17:41:18 EST 2007
Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used
---------------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-1336
URL: http://jira.jboss.com/jira/browse/JBRULES-1336
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.3
Reporter: James Sparrow
The RuleBaseConfiguration constructor:
{code}
public RuleBaseConfiguration(ClassLoader classLoder,
Properties properties) {
init( classLoader,
properties );
}
{code}
contains a typo--the call to init should pass the (mis-spelled) classLoder, not the member field classLoader. As it is, the null member field is passed instead, resulting in the given ClassLoader instance being unused. Trivial fix: Just correct the spelling of the constructor arg name:
{code}
public RuleBaseConfiguration(ClassLoader classLoader,
Properties properties) {
init( classLoader,
properties );
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list