From b91bd2f1baeb2542dadd56e2c636f8c2e8f3d905 Mon Sep 17 00:00:00 2001 From: bananeweizen Date: Sat, 21 Jan 2006 11:08:04 +0000 Subject: [PATCH] make compile in 3.2 by removing internal dependency --- .../corext/textmanipulation/MultiTextEdit.java | 32 ++++++++++---------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/MultiTextEdit.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/MultiTextEdit.java index ae29be5..a416650 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/MultiTextEdit.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/MultiTextEdit.java @@ -8,8 +8,8 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.eclipse.core.internal.utils.Assert; import org.eclipse.core.runtime.CoreException; +import org.eclipse.jface.util.Assert; public class MultiTextEdit { @@ -29,11 +29,11 @@ public class MultiTextEdit { fChildren.add(((TextEdit)iter.next()).copy()); } } - + protected List getChildren() { return fChildren; } - + /** * Adds all TextEdits managed by the given multt text edit. * @@ -43,7 +43,7 @@ public class MultiTextEdit { Assert.isNotNull(edit); fChildren.add(edit); } - + /** * Adds a text edit. * @@ -53,7 +53,7 @@ public class MultiTextEdit { Assert.isNotNull(edit); fChildren.add(edit); } - + /** * Returns the children managed by this text edit collection. * @@ -82,19 +82,19 @@ public class MultiTextEdit { editor.add((MultiTextEdit)element); } } - + /** - * Creates and returns a copy of this text edit collection. The copy method should - * be implemented in a way so that the copy can be added to a different - * TextBuffer without causing any harm to the object from which the copy - * has been created. - * - * @return a copy of this object. - */ + * Creates and returns a copy of this text edit collection. The copy method should + * be implemented in a way so that the copy can be added to a different + * TextBuffer without causing any harm to the object from which the copy + * has been created. + * + * @return a copy of this object. + */ public MultiTextEdit copy() throws CoreException { return new MultiTextEdit(fChildren); } - + /** * Returns the TextRange that this text edit is going to * manipulate. If this method is called before the MultiTextEdit @@ -118,7 +118,7 @@ public class MultiTextEdit { } return new TextRange(start, end - start + 1); } - + /** * Returns the element modified by this text edit. The method * may return null if the modification isn't related to a @@ -131,6 +131,6 @@ public class MultiTextEdit { */ public Object getModifiedElement() { return null; - } + } } -- 1.7.1