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() {
21 public void fireModificationEvent(ModificationEvent ev) {
22 for (ModificationListener l : listener) {
28 public void add(ModificationListener l) {
33 public void remove(ModificationListener l) {