mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
remove contributionAdded() calls in addListener()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user