Fix verbose recording not taking note of filters
This commit is contained in:
parent
9aeca91f22
commit
829eacb0fb
@ -79,20 +79,20 @@ public class DebugHandler {
|
|||||||
|
|
||||||
private void handleOutput(String checked, String node, Tristate value) {
|
private void handleOutput(String checked, String node, Tristate value) {
|
||||||
if (pasted) {
|
if (pasted) {
|
||||||
|
for (String filter : pastedFilters) {
|
||||||
|
if (node.toLowerCase().startsWith(filter.toLowerCase())) continue;
|
||||||
|
if (checked.equalsIgnoreCase(filter)) continue;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
pastedList.add("`" + checked + "` - " + node + " - **" + value.toString() + "** ");
|
pastedList.add("`" + checked + "` - " + node + " - **" + value.toString() + "** ");
|
||||||
}
|
}
|
||||||
|
|
||||||
all:
|
all:
|
||||||
for (Map.Entry<Receiver, List<String>> e : listeners.entrySet()) {
|
for (Map.Entry<Receiver, List<String>> e : listeners.entrySet()) {
|
||||||
for (String filter : e.getValue()) {
|
for (String filter : e.getValue()) {
|
||||||
if (node.toLowerCase().startsWith(filter.toLowerCase())) {
|
if (node.toLowerCase().startsWith(filter.toLowerCase())) continue;
|
||||||
continue;
|
if (checked.equalsIgnoreCase(filter)) continue;
|
||||||
}
|
|
||||||
|
|
||||||
if (checked.equalsIgnoreCase(filter)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
continue all;
|
continue all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user