reduce warnings due to core.runtime deprecations
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / breakpoints / PHPBreakpoint.java
index 55be0de..6d021af 100644 (file)
@@ -174,13 +174,7 @@ public abstract class PHPBreakpoint extends Breakpoint implements IBreakpoint {
         * @see IBreakpoint#getModelIdentifier()
         */
        public String getModelIdentifier() {
-               if (PHPDebugCorePlugin.getDefault() == null) {
-                       // If the default instance is not yet initialized,
-                       // return a static identifier. This identifier must
-                       // match the plugin id defined in plugin.xml
-                       return "net.sourceforge.phpeclipse.debug.core"; //$NON-NLS-1$
-               }
-               return PHPDebugCorePlugin.getDefault().getDescriptor().getUniqueIdentifier();
+               return PHPDebugCorePlugin.getUniqueIdentifier();
        }
        
        public void setDBGBpNo(int bpNo) {