[rules-users] Package.clear() doesn't clear RuleFlows
ekke
ekkehard at gentz-software.de
Wed Oct 3 04:42:55 EDT 2007
Mark,
...just downloaded build832-rev15510-20071002-0845
but same as before:
the RuleFlow is still there after clear()
also after removeRuleFlow()
started eclipse -clean, verified that there are only jars from the snapshot
regards
ekke
Mark Proctor wrote:
>
> 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
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context: http://www.nabble.com/Package.clear%28%29-doesn%27t-clear-RuleFlows-tf4528722.html#a13014873
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list