[jboss-jira] [JBoss JIRA] Closed: (JBRULES-507) jbrules docs: minor technical error in RuleBase code example
Mark Proctor (JIRA)
jira-events at jboss.com
Sun Oct 1 20:34:41 EDT 2006
[ http://jira.jboss.com/jira/browse/JBRULES-507?page=all ]
Mark Proctor closed JBRULES-507.
--------------------------------
Resolution: Duplicate Issue
This is already fixed in trunk see JBRULES-390. We have no current plans to backport documentation mistakes to the 3.0.x branch, unless you think it should be done?
> jbrules docs: minor technical error in RuleBase code example
> ------------------------------------------------------------
>
> Key: JBRULES-507
> URL: http://jira.jboss.com/jira/browse/JBRULES-507
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Documentation
> Affects Versions: 3.0.4
> Reporter: Ivelin Ivanov
> Assigned To: Mark Proctor
> Priority: Minor
>
> minor technical error in a code example:
> http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.4/html_single/index.html#d0e612
> "
> At any time Packages can be added and removed - all changes will be propated to the existing Working Memories, don't forget to call fireAllRules() for resulting Activations to fire.
> ruleBase.addPackage( pkg ); // Add a package instance
> ruleBase.addPackage( "org.com.sample" ); // remove a package, and all its parts, by it's namespace
> ruleBase.removeRule( "org.com.sample", "my rule" ); // remove a specific rule from a namespace
> "
> the line
> ruleBase.addPackage( "org.com.sample" ); // remove a package, and all its parts, by it's namespace
> was probably meant to read
> ruleBase.removePackage( "org.com.sample" ); // remove a package, and all its parts, by it's namespace
--
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