remove contributionAdded() calls in addListener()

This commit is contained in:
Ben Fry
2022-01-17 08:04:16 -05:00
parent fd2d187354
commit eb958c8d53
@@ -234,9 +234,9 @@ public class ContributionListing {
String isText = typed.substring(0, colon);
String property = typed.substring(colon + 1);
// Chances are the person is still typing the property, so rather than
// make the list flash empty (because nothing contains "is:" or "has:",
// just return true.
// Chances are the person is still typing the property,
// so rather than make the list flash empty (because nothing
// contains "is:" or "has:"), just return true.
if (!isProperty(property)) {
return true;
}
@@ -327,9 +327,11 @@ public class ContributionListing {
protected void addListener(ChangeListener listener) {
/*
for (Contribution contrib : allContributions) {
listener.contributionAdded(contrib);
}
*/
listeners.add(listener);
}