Fix #1371992: Error with switch when last case block omits break or return
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / ConsoleLineTracker.java
index e1cf774..5eb4656 100644 (file)
@@ -8,7 +8,7 @@ import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.debug.ui.console.IConsole;
-import org.eclipse.debug.ui.console.IConsoleHyperlink;
+// TODO XXX Disabled for 3.1 import org.eclipse.debug.ui.console.IConsoleHyperlink;
 import org.eclipse.debug.ui.console.IConsoleLineTracker;
 import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.IDocument;
@@ -20,7 +20,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
 
 public class ConsoleLineTracker implements IConsoleLineTracker {
     
-       private static class JavadocConsoleHyperLink implements IConsoleHyperlink {
+       private static class JavadocConsoleHyperLink /* TODO XXX Disabled for 3.1 implements IConsoleHyperlink */ {
                
                private IPath fExternalPath;
                private int fLineNumber;
@@ -124,7 +124,7 @@ public class ConsoleLineTracker implements IConsoleLineTracker {
                        
                        if (lineNumber != -1) {
                                JavadocConsoleHyperLink link= new JavadocConsoleHyperLink(path, lineNumber);
-                               fConsole.addLink(link, line.getOffset(), index1);
+                               // TODO XXX Disabled for 3.1 fConsole.addLink(link, line.getOffset(), index1);
 
                        }
                } catch (BadLocationException e) {