Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2006-08-31 04:52:55 -0400
committerDani Megert2006-08-31 04:52:55 -0400
commit00021ae23b91e4453c7b58694da40349ed0064bd (patch)
tree5b87a5d9b849d3012046089250186afaf658ae44 /org.eclipse.text
parent43bdbd141c3661e352b9f48e8b3cb30f2d5e5d2f (diff)
downloadeclipse.platform.text-00021ae23b91e4453c7b58694da40349ed0064bd.tar.gz
eclipse.platform.text-00021ae23b91e4453c7b58694da40349ed0064bd.tar.xz
eclipse.platform.text-00021ae23b91e4453c7b58694da40349ed0064bd.zip
Switched to use org.eclipse.core.runtime.Assert
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionMapping.java3
-rw-r--r--org.eclipse.text/projection/org/eclipse/jface/text/projection/SegmentUpdater.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java1
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/Assert.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/ConfigurableLineTracker.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/DocumentEvent.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/DocumentPartitioningChangedEvent.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/DocumentRewriteSessionEvent.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/GapTextStore.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/Position.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/TextUtilities.java2
-rwxr-xr-xorg.eclipse.text/src/org/eclipse/jface/text/TreeLineTracker.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeManager.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeModel.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPosition.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/DocumentTemplateContext.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/Template.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateBuffer.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateContextType.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariable.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariableResolver.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/TextEditCopier.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/TextEditGroup.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/TextEditProcessor.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/TreeIterationInfo.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/UndoCollector.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoEvent.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManagerRegistry.java3
39 files changed, 72 insertions, 27 deletions
diff --git a/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionMapping.java b/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionMapping.java
index bf057c247..35a55d96e 100644
--- a/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionMapping.java
+++ b/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionMapping.java
@@ -11,7 +11,8 @@
package org.eclipse.jface.text.projection;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.BadPositionCategoryException;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/projection/org/eclipse/jface/text/projection/SegmentUpdater.java b/org.eclipse.text/projection/org/eclipse/jface/text/projection/SegmentUpdater.java
index 6787ab329..a006b7e84 100644
--- a/org.eclipse.text/projection/org/eclipse/jface/text/projection/SegmentUpdater.java
+++ b/org.eclipse.text/projection/org/eclipse/jface/text/projection/SegmentUpdater.java
@@ -11,7 +11,8 @@
package org.eclipse.jface.text.projection;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadPositionCategoryException;
import org.eclipse.jface.text.DefaultPositionUpdater;
import org.eclipse.jface.text.DocumentEvent;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java b/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
index 8502d3d67..4292bc556 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
@@ -20,6 +20,7 @@ import java.util.List;
import java.util.Map;
import java.util.regex.PatternSyntaxException;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.ListenerList;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/Assert.java b/org.eclipse.text/src/org/eclipse/jface/text/Assert.java
index 318c7adb8..763924677 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/Assert.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/Assert.java
@@ -26,6 +26,8 @@ package org.eclipse.jface.text;
* Note that an <code>assert</code> statement is slated to be added to the
* Java language in JDK 1.4, rending this class obsolete.
* </p>
+ *
+ * @deprecated As of 3.3, replaced by {@link org.eclipse.core.runtime.Assert}
*/
public final class Assert {
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/ConfigurableLineTracker.java b/org.eclipse.text/src/org/eclipse/jface/text/ConfigurableLineTracker.java
index 562edc377..8a2595735 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/ConfigurableLineTracker.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/ConfigurableLineTracker.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text;
+import org.eclipse.core.runtime.Assert;
+
/**
* Standard implementation of a generic
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java b/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java
index 8d4e1c9d9..c4464a539 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java
@@ -11,6 +11,8 @@
package org.eclipse.jface.text;
+import org.eclipse.core.runtime.Assert;
+
/**
* Copy-on-write <code>ITextStore</code> wrapper.
* <p>
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/DocumentEvent.java b/org.eclipse.text/src/org/eclipse/jface/text/DocumentEvent.java
index e9117f03e..744186b34 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/DocumentEvent.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/DocumentEvent.java
@@ -11,6 +11,8 @@
package org.eclipse.jface.text;
+import org.eclipse.core.runtime.Assert;
+
/**
* Specification of changes applied to documents. All changes are represented as
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/DocumentPartitioningChangedEvent.java b/org.eclipse.text/src/org/eclipse/jface/text/DocumentPartitioningChangedEvent.java
index 5c969d6b1..88a030aaa 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/DocumentPartitioningChangedEvent.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/DocumentPartitioningChangedEvent.java
@@ -14,6 +14,8 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
+import org.eclipse.core.runtime.Assert;
+
/**
* Event describing the change of document partitionings.
*
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/DocumentRewriteSessionEvent.java b/org.eclipse.text/src/org/eclipse/jface/text/DocumentRewriteSessionEvent.java
index fc1dd7444..1c431be1c 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/DocumentRewriteSessionEvent.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/DocumentRewriteSessionEvent.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text;
+import org.eclipse.core.runtime.Assert;
+
/**
* Description of the state of document rewrite sessions.
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java b/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java
index 434226393..a15bd523d 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java
@@ -15,6 +15,8 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
+import org.eclipse.core.runtime.Assert;
+
/**
* Provides search and replace operations on
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/GapTextStore.java b/org.eclipse.text/src/org/eclipse/jface/text/GapTextStore.java
index a11b897ce..edc86209d 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/GapTextStore.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/GapTextStore.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text;
+import org.eclipse.core.runtime.Assert;
+
/**
* Implements a gap managing text store. The gap text store relies on the assumption that
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/Position.java b/org.eclipse.text/src/org/eclipse/jface/text/Position.java
index 22e464e00..9c733d3a8 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/Position.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/Position.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text;
+import org.eclipse.core.runtime.Assert;
+
/**
* Positions describe text ranges of a document. Positions are adapted to
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/TextUtilities.java b/org.eclipse.text/src/org/eclipse/jface/text/TextUtilities.java
index 8efa91015..28fc7f740 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/TextUtilities.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/TextUtilities.java
@@ -19,6 +19,8 @@ import java.util.ListIterator;
import java.util.Map;
import java.util.Set;
+import org.eclipse.core.runtime.Assert;
+
/**
* A collection of text functions.
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/TreeLineTracker.java b/org.eclipse.text/src/org/eclipse/jface/text/TreeLineTracker.java
index 0d9f921fd..108a5c90d 100755
--- a/org.eclipse.text/src/org/eclipse/jface/text/TreeLineTracker.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/TreeLineTracker.java
@@ -15,6 +15,8 @@ import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.AbstractLineTracker.DelimiterInfo;
/**
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeManager.java b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeManager.java
index d42d0542b..dc8805c57 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeManager.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeManager.java
@@ -17,7 +17,8 @@ import java.util.Map;
import java.util.Set;
import java.util.Stack;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeModel.java b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeModel.java
index c3b0e4e58..98c4ff96d 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeModel.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedModeModel.java
@@ -18,10 +18,11 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.text.edits.MalformedTreeException;
import org.eclipse.text.edits.TextEdit;
-import org.eclipse.jface.text.Assert;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.BadPositionCategoryException;
import org.eclipse.jface.text.DocumentEvent;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPosition.java b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPosition.java
index cc2aad589..c66625e80 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPosition.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPosition.java
@@ -10,7 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text.link;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
index b8e40448d..4576c5748 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
@@ -17,12 +17,13 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.text.edits.MalformedTreeException;
import org.eclipse.text.edits.MultiTextEdit;
import org.eclipse.text.edits.ReplaceEdit;
import org.eclipse.text.edits.TextEdit;
-import org.eclipse.jface.text.Assert;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java b/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
index 177822423..20e4b17b0 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
@@ -17,7 +17,8 @@ import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/DocumentTemplateContext.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/DocumentTemplateContext.java
index c00bb84da..c027c20f9 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/DocumentTemplateContext.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/DocumentTemplateContext.java
@@ -10,7 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text.templates;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.Position;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/Template.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/Template.java
index ce00cd734..3280f0f9d 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/Template.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/Template.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.jface.text.templates;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
/**
* A template consisting of a name and a pattern.
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateBuffer.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateBuffer.java
index d88f70313..77a78bf60 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateBuffer.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateBuffer.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.jface.text.templates;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
/**
* A template buffer is a container for a string and variables.
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateContextType.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateContextType.java
index 04b64a4fa..c50ab0dfb 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateContextType.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateContextType.java
@@ -17,13 +17,14 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.text.edits.MalformedTreeException;
import org.eclipse.text.edits.MultiTextEdit;
import org.eclipse.text.edits.RangeMarker;
import org.eclipse.text.edits.ReplaceEdit;
import org.eclipse.text.edits.TextEdit;
-import org.eclipse.jface.text.Assert;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariable.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariable.java
index ee78d86c3..ed0b82e58 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariable.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariable.java
@@ -10,7 +10,8 @@
*******************************************************************************/
package org.eclipse.jface.text.templates;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.TextUtilities;
/**
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariableResolver.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariableResolver.java
index 264d38b7a..c4acc1180 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariableResolver.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateVariableResolver.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.jface.text.templates;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
/**
* A <code>TemplateVariableResolver</code> resolves <code>TemplateVariables</code>
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java
index f7876938d..117f7663a 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java
@@ -13,7 +13,8 @@ package org.eclipse.text.edits;
import java.util.ArrayList;
import java.util.List;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java
index 7c5afd90f..f0cf3a1a7 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java
@@ -12,7 +12,8 @@ package org.eclipse.text.edits;
import java.util.List;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java
index 3f6d8fb91..98c8f5347 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java
@@ -17,7 +17,8 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java
index f2d537a52..b32b348a3 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java
@@ -12,7 +12,8 @@ package org.eclipse.text.edits;
import java.util.List;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java
index 8b44c6c58..b8b488762 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java
@@ -10,7 +10,8 @@
*******************************************************************************/
package org.eclipse.text.edits;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
index 4ba31c996..95dd15ac4 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
@@ -16,7 +16,8 @@ import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TextEditCopier.java b/org.eclipse.text/src/org/eclipse/text/edits/TextEditCopier.java
index 821b9be78..db11aebc3 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TextEditCopier.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEditCopier.java
@@ -16,7 +16,8 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
/**
* Copies a tree of text edits. A text edit copier keeps a map
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TextEditGroup.java b/org.eclipse.text/src/org/eclipse/text/edits/TextEditGroup.java
index d79f8cc88..1add49455 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TextEditGroup.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEditGroup.java
@@ -14,7 +14,8 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.IRegion;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TextEditProcessor.java b/org.eclipse.text/src/org/eclipse/text/edits/TextEditProcessor.java
index 11b2eac1b..7e8ac3135 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TextEditProcessor.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEditProcessor.java
@@ -14,7 +14,8 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TreeIterationInfo.java b/org.eclipse.text/src/org/eclipse/text/edits/TreeIterationInfo.java
index 3eba2ed2f..0f1aa9c84 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TreeIterationInfo.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TreeIterationInfo.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.text.edits;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
class TreeIterationInfo {
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/UndoCollector.java b/org.eclipse.text/src/org/eclipse/text/edits/UndoCollector.java
index cf5ff26f8..dbffd6c61 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/UndoCollector.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/UndoCollector.java
@@ -10,7 +10,8 @@
*******************************************************************************/
package org.eclipse.text.edits;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoEvent.java b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoEvent.java
index e8de94262..6ebd191ff 100644
--- a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoEvent.java
+++ b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoEvent.java
@@ -11,7 +11,8 @@
package org.eclipse.text.undo;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.IDocument;
/**
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 69aeb3ccd..21f5956a2 100644
--- a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
+++ b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
@@ -24,13 +24,13 @@ import org.eclipse.core.commands.operations.ObjectUndoContext;
import org.eclipse.core.commands.operations.OperationHistoryEvent;
import org.eclipse.core.commands.operations.OperationHistoryFactory;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.ListenerList;
import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.text.Assert;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
diff --git a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManagerRegistry.java b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManagerRegistry.java
index 50b38e3d5..f3baf5c2a 100644
--- a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManagerRegistry.java
+++ b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManagerRegistry.java
@@ -13,7 +13,8 @@ package org.eclipse.text.undo;
import java.util.HashMap;
import java.util.Map;
-import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
+
import org.eclipse.jface.text.IDocument;
/**

Back to the top