[rules-users] Package.clear() doesn't clear RuleFlows

Mark Proctor mproctor at codehaus.org
Tue Oct 2 19:16:43 EDT 2007


ekke wrote:
> there's no comment in JavaDoc, but I think a clear() on a Package
> should clear all Rules and all RuleFlows.
>
> but: after clear() the Rules went away, but the RuleFlows are still there.
>
> I tested the behaviour with
> ....getPackage().getRules().length;
> ....getPackage().getRuleFlows().size();
>
> getRules().length was Zero as expected
> getRuleFlows().size() was 1 as before the clean
>
> then I tried
> .....removeRuleFlow("myID");
>
> but its still there.
>
> should I open a JIRA ?
>   
This is now fixed in trunk.
> ekke
>   




More information about the rules-users mailing list