[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-1336) Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Thu Jan 10 12:55:45 EST 2008


     [ http://jira.jboss.com/jira/browse/JBRULES-1336?page=all ]

Edson Tirelli reassigned JBRULES-1336:
--------------------------------------

    Assignee: Edson Tirelli

> 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
>         Assigned To: Edson Tirelli
>
> 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