diff dwtx/jface/text/source/AnnotationModelEvent.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents f70d9508c95c
children
line wrap: on
line diff
--- a/dwtx/jface/text/source/AnnotationModelEvent.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/source/AnnotationModelEvent.d	Mon Sep 08 00:51:37 2008 +0200
@@ -106,17 +106,17 @@
      * The added annotations.
      * @since 3.0
      */
-    private Set fAddedAnnotations= new HashSet();
+    private Set fAddedAnnotations;
     /**
      * The removed annotations.
      * @since 3.0
      */
-    private Map fRemovedAnnotations= new HashMap();
+    private Map fRemovedAnnotations;
     /**
      * The changed annotations.
      * @since 3.0
      */
-    private Set fChangedAnnotations= new HashSet();
+    private Set fChangedAnnotations;
     /**
      * Indicates that this event does not contain detailed information.
      * @since 3.0
@@ -145,6 +145,10 @@
      * @since 3.0
      */
     public this(IAnnotationModel model, bool isWorldChange) {
+        fAddedAnnotations= new HashSet();
+        fRemovedAnnotations= new HashMap();
+        fChangedAnnotations= new HashSet();
+
         fAnnotationModel= model;
         fIsWorldChange= isWorldChange;
     }