Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2008-01-14 10:19:42 -0500
committerDani Megert2008-01-14 10:19:42 -0500
commitc0fd4e6e42b7bac1a844ceb1624cb76a198df5ce (patch)
tree2f2f3db265715f99d98fda06cd3e257689160771 /org.eclipse.text/src/org/eclipse/text/undo
parent4ceb9074bee9ea7ae17838d2e84f77b79189a7b6 (diff)
downloadeclipse.platform.text-c0fd4e6e42b7bac1a844ceb1624cb76a198df5ce.tar.gz
eclipse.platform.text-c0fd4e6e42b7bac1a844ceb1624cb76a198df5ce.tar.xz
eclipse.platform.text-c0fd4e6e42b7bac1a844ceb1624cb76a198df5ce.zip
ListenerList should use identity.
Diffstat (limited to 'org.eclipse.text/src/org/eclipse/text/undo')
-rw-r--r--org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
index da2e7d007..399658958 100644
--- a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
+++ b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation and others.
+ * Copyright (c) 2006, 2008 IBM Corporation and others.
* 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
@@ -782,7 +782,7 @@ public class DocumentUndoManager implements IDocumentUndoManager {
fHistory= OperationHistoryFactory.getOperationHistory();
fUndoContext= new ObjectUndoContext(fDocument);
fConnected= new ArrayList();
- fDocumentUndoListeners= new ListenerList();
+ fDocumentUndoListeners= new ListenerList(ListenerList.IDENTITY);
}
/*

Back to the top