Refactory: remove unused classes, imports, fields and methods.
authorincastrix <incastrix>
Wed, 23 Dec 2009 17:34:17 +0000 (17:34 +0000)
committerincastrix <incastrix>
Wed, 23 Dec 2009 17:34:17 +0000 (17:34 +0000)
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/breakpoints/PHPLineBreakpoint.java
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugElement.java
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugTarget.java
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPThread.java
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/watch/PHPEvalException.java [deleted file]

index 3196ff8..e7e4673 100644 (file)
@@ -110,9 +110,9 @@ public class PHPLineBreakpoint extends PHPBreakpoint implements IBreakpoint,
        /**
         * Returns the type of marker associated with Java line breakpoints
         */
-       public static String getMarkerType() {
-               return PHP_LINE_BREAKPOINT;
-       }
+//     public static String getMarkerType() {
+//             return PHP_LINE_BREAKPOINT;
+//     }
 
        public int getHitCount() throws CoreException {
                return ensureMarker().getAttribute(PHPBreakpoint.HIT_COUNT, 1);
index 5cc42ea..971faae 100644 (file)
@@ -102,9 +102,9 @@ public abstract class PHPDebugElement extends PlatformObject implements
        /**
         * Fires a <code>CREATE</code> event for this element.
         */
-       protected void fireCreationEvent() {
-               fireEvent(new DebugEvent(this, DebugEvent.CREATE));
-       }
+//     protected void fireCreationEvent() {
+//             fireEvent(new DebugEvent(this, DebugEvent.CREATE));
+//     }
 
        /**
         * Fires a <code>RESUME</code> event for this element with the given
@@ -113,9 +113,9 @@ public abstract class PHPDebugElement extends PlatformObject implements
         * @param detail
         *            event detail code
         */
-       public void fireResumeEvent(int detail) {
-               fireEvent(new DebugEvent(this, DebugEvent.RESUME, detail));
-       }
+//     public void fireResumeEvent(int detail) {
+//             fireEvent(new DebugEvent(this, DebugEvent.RESUME, detail));
+//     }
 
        /**
         * Fires a <code>SUSPEND</code> event for this element with the given
@@ -124,9 +124,9 @@ public abstract class PHPDebugElement extends PlatformObject implements
         * @param detail
         *            event detail code
         */
-       public void fireSuspendEvent(int detail) {
-               fireEvent(new DebugEvent(this, DebugEvent.SUSPEND, detail));
-       }
+//     public void fireSuspendEvent(int detail) {
+//             fireEvent(new DebugEvent(this, DebugEvent.SUSPEND, detail));
+//     }
 
        /**
         * Fires a <code>TERMINATE</code> event for this element.
index 660623d..41c5a39 100644 (file)
@@ -107,10 +107,10 @@ public class PHPDebugTarget extends PHPDebugElement implements IPHPDebugTarget,
                fireThreadCreateEvent(phpThread);
        }
        
-       public void updateThreads(PHPThread phpThread) {
-               fireChangeEvent();
-               fireThreadCreateEvent(phpThread);
-       }
+//     public void updateThreads(PHPThread phpThread) {
+//             fireChangeEvent();
+//             fireThreadCreateEvent(phpThread);
+//     }
 
        private void fireChangeEvent() {
                DebugEvent ev = new DebugEvent(this, DebugEvent.CHANGE);
@@ -122,14 +122,14 @@ public class PHPDebugTarget extends PHPDebugElement implements IPHPDebugTarget,
                DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] { ev });
        }
 
-       protected PHPThread getThreadById(int id) {
-               for (int i = 0; i < threads.length; i++) {
-                       if (threads[i].getId() == id) {
-                               return threads[i];
-                       }
-               }
-               return null;
-       }
+//     protected PHPThread getThreadById(int id) {
+//             for (int i = 0; i < threads.length; i++) {
+//                     if (threads[i].getId() == id) {
+//                             return threads[i];
+//                     }
+//             }
+//             return null;
+//     }
 
        public IThread[] getThreads() {
                return threads;
index fefd85e..9c94fee 100644 (file)
@@ -101,9 +101,9 @@ public class PHPThread extends PHPDebugElement implements IThread {
                }
        }
 
-       public int getStackFramesSize () {
-               return frames.length;
-       }
+//     public int getStackFramesSize () {
+//             return frames.length;
+//     }
 
        public boolean hasStackFrames () {
                if (frames == null) {
@@ -136,9 +136,9 @@ public class PHPThread extends PHPDebugElement implements IThread {
                return target;
        }
 
-       public void setDebugTarget(PHPDebugTarget target) {
-               this.target = target;
-       }
+//     public void setDebugTarget(PHPDebugTarget target) {
+//             this.target = target;
+//     }
 
        public ILaunch getLaunch() {
                return this.getDebugTarget().getLaunch();
diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/watch/PHPEvalException.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/watch/PHPEvalException.java
deleted file mode 100644 (file)
index 52f02be..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-package net.sourceforge.phpdt.internal.debug.core.watch;
-
-public class PHPEvalException extends Exception {
-
-       public PHPEvalException(String s) {
-               super(s);
-       }
-
-}
\ No newline at end of file