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/src/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/src/org/eclipse/text')
-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
14 files changed, 26 insertions, 14 deletions
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