]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/impl/EventCollection.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / accessor / impl / EventCollection.java
index b2a6f8d18b6b6aefd682ae15004e7a9c46e32e78..d08f8fd43fd9234e9d10b57c5b4034bcf42340e6 100644 (file)
@@ -1,23 +1,23 @@
-/*******************************************************************************\r
- *  Copyright (c) 2010 Association for Decentralized Information Management in\r
- *  Industry THTH ry.\r
- *  All rights reserved. This program and the accompanying materials\r
- *  are made available under the terms of the Eclipse Public License v1.0\r
- *  which accompanies this distribution, and is available at\r
- *  http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- *  Contributors:\r
- *      VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
+/*******************************************************************************
+ *  Copyright (c) 2010 Association for Decentralized Information Management in
+ *  Industry THTH ry.
+ *  All rights reserved. This program and the accompanying materials
+ *  are made available under the terms of the Eclipse Public License v1.0
+ *  which accompanies this distribution, and is available at
+ *  http://www.eclipse.org/legal/epl-v10.html
+ *
+ *  Contributors:
+ *      VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
 package org.simantics.databoard.accessor.impl;
 
-import java.util.ArrayList;\r
-import java.util.Collection;\r
-import java.util.List;\r
-\r
-import org.simantics.databoard.accessor.Accessor.Listener;\r
-import org.simantics.databoard.accessor.event.Event;\r
-import org.simantics.databoard.accessor.event.ModificationEvent;\r
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import org.simantics.databoard.accessor.Accessor.Listener;
+import org.simantics.databoard.accessor.event.Event;
+import org.simantics.databoard.accessor.event.ModificationEvent;
 
 /**
  * Event Collection is a {@link Listener} implementation that collects events.
@@ -29,14 +29,14 @@ public class EventCollection implements Listener {
 
        public List<Event> events = new ArrayList<Event>();
        
-       public synchronized void addEvent(Event event) {\r
-               this.events.add(event);\r
-       }\r
-               \r
-       public synchronized void addEvents(Collection<Event> events) {\r
-               this.events.addAll(events);\r
-       }\r
-               \r
+       public synchronized void addEvent(Event event) {
+               this.events.add(event);
+       }
+               
+       public synchronized void addEvents(Collection<Event> events) {
+               this.events.addAll(events);
+       }
+               
        /**
         * Returns events and clears change set.
         *