2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
5 package org.apidesign.openfixed;
8 import java.util.concurrent.CopyOnWriteArrayList;
12 * @author Jaroslav Tulach <jtulach@netbeans.org>
14 final class TrivialEventSupport implements EventSupport {
15 List<ModificationListener> listener = new CopyOnWriteArrayList<ModificationListener>();
17 TrivialEventSupport() {
20 // BEGIN: openfixed.trivial
22 public void fireModificationEvent(ModificationEvent ev) {
23 for (ModificationListener l : listener) {
27 // END: openfixed.trivial
30 public void add(ModificationListener l) {
35 public void remove(ModificationListener l) {