Commit 2bc0f620 authored by Johannes Roith's avatar Johannes Roith

remove @Override on interfaces.

parent cd9ddf34
......@@ -7,12 +7,10 @@ import de.tum.in.www2.cupplugin.controller.Controller;
class CTEDocumentListener implements IDocumentListener {
@Override
public void documentAboutToBeChanged(DocumentEvent event) {
return;
}
@Override
public void documentChanged(DocumentEvent event) {
System.out.println("starting job chain"); // Log message TODO: DELETE!
Controller controller = Controller.getInstance(event.getDocument());
......
......@@ -7,7 +7,6 @@ import org.eclipse.jface.text.rules.FastPartitioner;
public class CupDocumentSetupParticipant implements IDocumentSetupParticipant {
@Override
public void setup(IDocument document) {
IDocumentPartitioner partitioner = new FastPartitioner(new CupPartionScanner(), CupPartionScanner.PARTITION_TYPES);
document.setDocumentPartitioner(partitioner);
......
......@@ -34,7 +34,6 @@ public class CupGraphView implements CupGraphModelObserver {
}
@Override
public void modelChanged(Model model) {
// TODO Auto-generated method stub
......
......@@ -90,7 +90,6 @@ public class CupPartionScanner extends RuleBasedPartitionScanner {
/*
* @see org.eclipse.jface.text.rules.IPredicateRule#evaluate(ICharacterScanner, boolean)
*/
@Override
public IToken evaluate(ICharacterScanner scanner, boolean resume) {
return super.evaluate(scanner);
}
......
......@@ -76,7 +76,6 @@ public class CupSourceViewerConfiguration extends SourceViewerConfiguration {
sym.NON, sym.PRECEDENCE, sym.INIT, sym.CODE, sym.EXTENDS);
private List<Integer> constants = Arrays.asList();
@Override
public void setRange(IDocument document, int offset, int length) {
scanner = new CupScanner(new DefaultErrorReporter(), new StringReader(document.get()
......@@ -86,7 +85,6 @@ public class CupSourceViewerConfiguration extends SourceViewerConfiguration {
}
@Override
public IToken nextToken() {
try {
last = (ComplexSymbol)scanner.next_token();
......@@ -106,13 +104,11 @@ public class CupSourceViewerConfiguration extends SourceViewerConfiguration {
}
}
@Override
public int getTokenOffset() {
int mOffset = this.offset + last.left;
return mOffset;
}
@Override
public int getTokenLength() {
int length = last.right-last.left;
return length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment