Bug in ThresholdMatcherEditor

View: New views
1 Messages — Rating Filter:   Alert me  

Bug in ThresholdMatcherEditor

by Baljeet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all

ThresholdMatcherEditor extends from AbstractMatcherEditor.
Both the classes have a variable named 'currentMatcher'.

ThresholdMatcherEditor sets its private variable 'currentMatcher' which is not propagated to super.
Also it does not override the getMatcher() method, hence the variable from AbstractMatcherEditor gets picked up. This is incorrect.

Small but caused my CompositeMatcher to behave erratically.

Baljeet