summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhubner2009-02-05 11:44:19 (EST)
committerdhubner2009-02-05 11:44:19 (EST)
commit30c16dab4e67656fc069cf97fca27a717994a295 (patch)
tree5afc2fcd3e5af6574e91b546dfa5dca37903ce67
parentb028103d0c54b0cb4ee93d9eb31ef3d4e9c19759 (diff)
downloadorg.eclipse.mwe-30c16dab4e67656fc069cf97fca27a717994a295.zip
org.eclipse.mwe-30c16dab4e67656fc069cf97fca27a717994a295.tar.gz
org.eclipse.mwe-30c16dab4e67656fc069cf97fca27a717994a295.tar.bz2
removed dead code
-rw-r--r--plugins/org.eclipse.emf.mwe.ui.editor/src/org/eclipse/emf/mwe/ui/internal/editor/contentassist/impl/xml/AbstractContentProposalComputer.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.mwe.ui.editor/src/org/eclipse/emf/mwe/ui/internal/editor/contentassist/impl/xml/AbstractContentProposalComputer.java b/plugins/org.eclipse.emf.mwe.ui.editor/src/org/eclipse/emf/mwe/ui/internal/editor/contentassist/impl/xml/AbstractContentProposalComputer.java
index 6c3e335..02ee96d 100644
--- a/plugins/org.eclipse.emf.mwe.ui.editor/src/org/eclipse/emf/mwe/ui/internal/editor/contentassist/impl/xml/AbstractContentProposalComputer.java
+++ b/plugins/org.eclipse.emf.mwe.ui.editor/src/org/eclipse/emf/mwe/ui/internal/editor/contentassist/impl/xml/AbstractContentProposalComputer.java
@@ -28,13 +28,12 @@ import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITypedRegion;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
-import org.eclipse.jface.text.rules.ICharacterScanner;
import org.eclipse.jface.text.rules.IToken;
import org.eclipse.jface.text.rules.Token;
/**
* @author Patrick Schoenbach - Initial API and implementation
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
public abstract class AbstractContentProposalComputer implements IContentProposalComputer {
@@ -345,12 +344,13 @@ public abstract class AbstractContentProposalComputer implements IContentProposa
final char c = (char) 0;
while (c == tagScanner.read()) {
- if (c == ICharacterScanner.EOF) {
- break;
- }
- if (c == '<') {
- break;
- }
+ // TODO dead code because c is = 0 ever!
+ // if (c == ICharacterScanner.EOF) {
+ // break;
+ // }
+ // if (c == '<') {
+ // break;
+ // }
if (!Character.isWhitespace(c)) {
textReached = true;
}