diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordIterator.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordIterator.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordIterator.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordIterator.java index 3f654e2edfa..39ba1f57499 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordIterator.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordIterator.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2020 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -11,15 +11,15 @@ * Contributors: * IBM Corporation - initial API and implementation * Sergey Prigogin (Google) + * Alexander Fedorov (ArSysOp) - Bug 561993 - Remove dependency to com.ibm.icu from CDT UI *******************************************************************************/ package org.eclipse.cdt.internal.ui.text; +import java.text.BreakIterator; import java.text.CharacterIterator; import org.eclipse.core.runtime.Assert; -import com.ibm.icu.text.BreakIterator; - /** * Breaks C text into word starts, also stops at line start and end. No * direction dependency. @@ -183,7 +183,6 @@ public class CWordIterator extends BreakIterator { * Sets the text as <code>CharSequence</code>. * @param newText the new text */ - @Override public void setText(CharSequence newText) { fIterator.setText(newText); first(); |