diff options
author | Darin Wright | 2005-08-05 15:58:57 +0000 |
---|---|---|
committer | Darin Wright | 2005-08-05 15:58:57 +0000 |
commit | 14470073fafec9a2ca8fb7e8f221fb2e1e25083f (patch) | |
tree | 29da69739c2acb79ee6a226d83f65b6fce46fa6b /org.eclipse.debug.core | |
parent | a5ce3fddca1d1a44014433923c23e8cdf6377e73 (diff) | |
download | eclipse.platform.debug-14470073fafec9a2ca8fb7e8f221fb2e1e25083f.tar.gz eclipse.platform.debug-14470073fafec9a2ca8fb7e8f221fb2e1e25083f.tar.xz eclipse.platform.debug-14470073fafec9a2ca8fb7e8f221fb2e1e25083f.zip |
Bug 106178 - Remove uneccessary NLS tags
Diffstat (limited to 'org.eclipse.debug.core')
38 files changed, 116 insertions, 116 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugEvent.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugEvent.java index af63e560e..1c5154470 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugEvent.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugEvent.java @@ -305,9 +305,9 @@ public final class DebugEvent extends EventObject { public DebugEvent(Object eventSource, int kind, int detail) { super(eventSource); if ((kind & (RESUME | SUSPEND | CREATE | TERMINATE | CHANGE | MODEL_SPECIFIC)) == 0) - throw new IllegalArgumentException(DebugCoreMessages.DebugEvent_illegal_kind); //$NON-NLS-1$ + throw new IllegalArgumentException(DebugCoreMessages.DebugEvent_illegal_kind); if (kind != MODEL_SPECIFIC && detail != UNSPECIFIED && (detail & (STEP_END | STEP_INTO | STEP_OVER | STEP_RETURN | BREAKPOINT | CLIENT_REQUEST |EVALUATION | EVALUATION_IMPLICIT | STATE | CONTENT)) == 0) - throw new IllegalArgumentException(DebugCoreMessages.DebugEvent_illegal_detail); //$NON-NLS-1$ + throw new IllegalArgumentException(DebugCoreMessages.DebugEvent_illegal_detail); fKind= kind; fDetail= detail; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java index a6d5ea948..44d388f7f 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java @@ -323,7 +323,7 @@ public class DebugPlugin extends Plugin { * Creates a new event dispatch job. */ public EventDispatchJob() { - super(DebugCoreMessages.DebugPlugin_1); //$NON-NLS-1$ + super(DebugCoreMessages.DebugPlugin_1); setPriority(Job.INTERACTIVE); setSystem(true); } @@ -514,7 +514,7 @@ public class DebugPlugin extends Plugin { if (handler instanceof IStatusHandler) { return (IStatusHandler)handler; } - invalidStatusHandler(null, MessageFormat.format(DebugCoreMessages.DebugPlugin_Registered_status_handler__0__does_not_implement_required_interface_IStatusHandler__1, new String[] {config.getDeclaringExtension().getUniqueIdentifier()})); //$NON-NLS-1$ + invalidStatusHandler(null, MessageFormat.format(DebugCoreMessages.DebugPlugin_Registered_status_handler__0__does_not_implement_required_interface_IStatusHandler__1, new String[] {config.getDeclaringExtension().getUniqueIdentifier()})); } catch (CoreException e) { log(e); } @@ -749,11 +749,11 @@ public class DebugPlugin extends Plugin { if (p != null) { p.destroy(); } - Status status = new Status(IStatus.ERROR, getUniqueIdentifier(), INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_Exception_occurred_executing_command_line__1, e); //$NON-NLS-1$ + Status status = new Status(IStatus.ERROR, getUniqueIdentifier(), INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_Exception_occurred_executing_command_line__1, e); throw new CoreException(status); } catch (NoSuchMethodError e) { //attempting launches on 1.2.* - no ability to set working directory - IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), ERR_WORKING_DIRECTORY_NOT_SUPPORTED, DebugCoreMessages.DebugPlugin_Eclipse_runtime_does_not_support_working_directory_2, e); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), ERR_WORKING_DIRECTORY_NOT_SUPPORTED, DebugCoreMessages.DebugPlugin_Eclipse_runtime_does_not_support_working_directory_2, e); IStatusHandler handler = DebugPlugin.getDefault().getStatusHandler(status); if (handler != null) { @@ -921,13 +921,13 @@ public class DebugPlugin extends Plugin { } else { // invalid process factory String badDefiner= infos[i].getNamespace(); - log(new Status(IStatus.ERROR, DebugPlugin.PI_DEBUG_CORE, INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.DebugPlugin_31, new String[] {badDefiner, id}), null)); //$NON-NLS-1$ + log(new Status(IStatus.ERROR, DebugPlugin.PI_DEBUG_CORE, INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.DebugPlugin_31, new String[] {badDefiner, id}), null)); } } } private void invalidStatusHandler(Exception e, String id) { - log(new Status(IStatus.ERROR, DebugPlugin.PI_DEBUG_CORE, INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.DebugPlugin_Invalid_status_handler_extension___0__2, new String[] {id}), e)); //$NON-NLS-1$ + log(new Status(IStatus.ERROR, DebugPlugin.PI_DEBUG_CORE, INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.DebugPlugin_Invalid_status_handler_extension___0__2, new String[] {id}), e)); } /** @@ -996,7 +996,7 @@ public class DebugPlugin extends Plugin { class AsynchJob extends Job { public AsynchJob() { - super(DebugCoreMessages.DebugPlugin_Debug_async_queue_1); //$NON-NLS-1$ + super(DebugCoreMessages.DebugPlugin_Debug_async_queue_1); setPriority(Job.INTERACTIVE); setSystem(true); } @@ -1019,7 +1019,7 @@ public class DebugPlugin extends Plugin { fRunnables = new Vector(5); } MultiStatus failed = null; - monitor.beginTask(DebugCoreMessages.DebugPlugin_Debug_async_queue_1, v.size()); //$NON-NLS-1$ + monitor.beginTask(DebugCoreMessages.DebugPlugin_Debug_async_queue_1, v.size()); Iterator iter = v.iterator(); while (iter.hasNext() && !fShuttingDown && !monitor.isCanceled()) { Runnable r = (Runnable)iter.next(); @@ -1027,9 +1027,9 @@ public class DebugPlugin extends Plugin { r.run(); } catch (Exception e) { if (failed == null) { - failed = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_0, null); //$NON-NLS-1$ + failed = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_0, null); } - failed.add(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_0, e)); //$NON-NLS-1$ + failed.add(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_0, e)); } monitor.worked(1); } @@ -1059,11 +1059,11 @@ public class DebugPlugin extends Plugin { public void handleException(Throwable exception) { switch (fMode) { case NOTIFY_FILTERS: - IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_An_exception_occurred_while_filtering_debug_events__3, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_An_exception_occurred_while_filtering_debug_events__3, exception); log(status); break; case NOTIFY_EVENTS: - status = new Status(IStatus.ERROR, getUniqueIdentifier(), INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_An_exception_occurred_while_dispatching_debug_events__2, exception); //$NON-NLS-1$ + status = new Status(IStatus.ERROR, getUniqueIdentifier(), INTERNAL_ERROR, DebugCoreMessages.DebugPlugin_An_exception_occurred_while_dispatching_debug_events__2, exception); log(status); break; } @@ -1134,7 +1134,7 @@ public class DebugPlugin extends Plugin { try { return LaunchManager.getDocument(); } catch (ParserConfigurationException e) { - abort(SourceLookupMessages.SourceLookupUtils_3, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_3, e); } return null; } @@ -1151,9 +1151,9 @@ public class DebugPlugin extends Plugin { try { return LaunchManager.serializeDocument(document); } catch (TransformerException e) { - abort(SourceLookupMessages.SourceLookupUtils_4, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_4, e); } catch (IOException e) { - abort(SourceLookupMessages.SourceLookupUtils_5, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_5, e); } return null; } @@ -1176,18 +1176,18 @@ public class DebugPlugin extends Plugin { stream = new ByteArrayInputStream(document.getBytes()); root = parser.parse(stream).getDocumentElement(); } catch (ParserConfigurationException e) { - abort(SourceLookupMessages.SourceLookupUtils_6, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_6, e); } catch (FactoryConfigurationError e) { - abort(SourceLookupMessages.SourceLookupUtils_7, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_7, e); } catch (SAXException e) { - abort(SourceLookupMessages.SourceLookupUtils_8, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_8, e); } catch (IOException e) { - abort(SourceLookupMessages.SourceLookupUtils_9, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_9, e); } finally { try{ stream.close(); } catch(IOException e) { - abort(SourceLookupMessages.SourceLookupUtils_10, e); //$NON-NLS-1$ + abort(SourceLookupMessages.SourceLookupUtils_10, e); } } return root; diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java index ae92c728f..4572ce6e9 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/Launch.java @@ -230,7 +230,7 @@ public class Launch extends PlatformObject implements ILaunch, IDisconnect, ILau */ public void terminate() throws DebugException { MultiStatus status= - new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugException.REQUEST_FAILED, DebugCoreMessages.Launch_terminate_failed, null); //$NON-NLS-1$ + new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugException.REQUEST_FAILED, DebugCoreMessages.Launch_terminate_failed, null); // terminate the system processes IProcess[] processes = getProcesses(); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java index aa53b5604..3fd04ff38 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java @@ -266,7 +266,7 @@ public abstract class Breakpoint extends PlatformObject implements IBreakpoint { IMarker m = getMarker(); if (m == null || !m.exists()) { throw new DebugException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.REQUEST_FAILED, - DebugCoreMessages.Breakpoint_no_associated_marker, null)); //$NON-NLS-1$ + DebugCoreMessages.Breakpoint_no_associated_marker, null)); } return m; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java index 9eedd689c..dfc730928 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/LaunchConfigurationDelegate.java @@ -132,10 +132,10 @@ public abstract class LaunchConfigurationDelegate implements ILaunchConfiguratio } boolean continueLaunch = true; - monitor.subTask(DebugCoreMessages.LaunchConfigurationDelegate_6); //$NON-NLS-1$ + monitor.subTask(DebugCoreMessages.LaunchConfigurationDelegate_6); List errors = new ArrayList(); for (int i = 0; i < projects.length; i++) { - monitor.subTask(MessageFormat.format(DebugCoreMessages.LaunchConfigurationDelegate_7, new String[]{projects[i].getName()})); //$NON-NLS-1$ + monitor.subTask(MessageFormat.format(DebugCoreMessages.LaunchConfigurationDelegate_7, new String[]{projects[i].getName()})); if (existsProblems(projects[i])) { errors.add(projects[i]); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java index 0ba58c502..0c587eb2c 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java @@ -219,7 +219,7 @@ public class RuntimeProcess extends PlatformObject implements IProcess { fMonitor.killThread(); fMonitor = null; } - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.TARGET_REQUEST_FAILED, DebugCoreMessages.RuntimeProcess_terminate_failed, null); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.TARGET_REQUEST_FAILED, DebugCoreMessages.RuntimeProcess_terminate_failed, null); throw new DebugException(status); } } @@ -349,7 +349,7 @@ public class RuntimeProcess extends PlatformObject implements IProcess { if (isTerminated()) { return fExitValue; } - throw new DebugException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.TARGET_REQUEST_FAILED, DebugCoreMessages.RuntimeProcess_Exit_value_not_available_until_process_terminates__1, null)); //$NON-NLS-1$ + throw new DebugException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.TARGET_REQUEST_FAILED, DebugCoreMessages.RuntimeProcess_Exit_value_not_available_until_process_terminates__1, null)); } /** @@ -411,7 +411,7 @@ public class RuntimeProcess extends PlatformObject implements IProcess { * termination. */ public ProcessMonitorThread(RuntimeProcess process) { - super(DebugCoreMessages.ProcessMonitorJob_0); //$NON-NLS-1$ + super(DebugCoreMessages.ProcessMonitorJob_0); setDaemon(true); fRuntimeProcess= process; fOSProcess= process.getSystemProcess(); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupDirector.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupDirector.java index 17d8d3cbd..f3d947230 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupDirector.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupDirector.java @@ -138,7 +138,7 @@ public abstract class AbstractSourceLookupDirector implements ISourceLookupDirec if (single == null) { single = e; } else if (multiStatus == null) { - multiStatus = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, new IStatus[]{single.getStatus()}, SourceLookupMessages.AbstractSourceLookupDirector_19, null); //$NON-NLS-1$ + multiStatus = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, new IStatus[]{single.getStatus()}, SourceLookupMessages.AbstractSourceLookupDirector_19, null); multiStatus.add(e.getStatus()); } else { multiStatus.add(e.getStatus()); @@ -233,15 +233,15 @@ public abstract class AbstractSourceLookupDirector implements ISourceLookupDirec Element element = (Element)list.item(i); String typeId = element.getAttribute(CONTAINER_TYPE_ATTR); if (typeId == null || typeId.equals("")) { //$NON-NLS-1$ - abort(SourceLookupMessages.AbstractSourceLookupDirector_11, null); //$NON-NLS-1$ + abort(SourceLookupMessages.AbstractSourceLookupDirector_11, null); } ISourceContainerType type = DebugPlugin.getDefault().getLaunchManager().getSourceContainerType(typeId); if(type == null) { - abort(MessageFormat.format(SourceLookupMessages.AbstractSourceLookupDirector_12, new String[]{typeId}), null); //$NON-NLS-1$ + abort(MessageFormat.format(SourceLookupMessages.AbstractSourceLookupDirector_12, new String[]{typeId}), null); } String memento = element.getAttribute(CONTAINER_MEMENTO_ATTR); if (memento == null || memento.equals("")) { //$NON-NLS-1$ - abort(SourceLookupMessages.AbstractSourceLookupDirector_13, null); //$NON-NLS-1$ + abort(SourceLookupMessages.AbstractSourceLookupDirector_13, null); } ISourceContainer container = type.createSourceContainer(memento); containers.add(container); @@ -390,7 +390,7 @@ public abstract class AbstractSourceLookupDirector implements ISourceLookupDirec } Element rootElement = DebugPlugin.parseDocument(memento); if (!rootElement.getNodeName().equalsIgnoreCase(DIRECTOR_ROOT_NODE)) { - abort(SourceLookupMessages.AbstractSourceLookupDirector_14, null); //$NON-NLS-1$ + abort(SourceLookupMessages.AbstractSourceLookupDirector_14, null); } NodeList list = rootElement.getChildNodes(); int length = list.getLength(); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupParticipant.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupParticipant.java index 987045704..2da790604 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupParticipant.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/AbstractSourceLookupParticipant.java @@ -82,7 +82,7 @@ public abstract class AbstractSourceLookupParticipant implements ISourceLookupPa if (single == null) { single = e; } else if (multiStatus == null) { - multiStatus = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, new IStatus[]{single.getStatus()}, SourceLookupMessages.CompositeSourceContainer_0, null); //$NON-NLS-1$ + multiStatus = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, new IStatus[]{single.getStatus()}, SourceLookupMessages.CompositeSourceContainer_0, null); multiStatus.add(e.getStatus()); } else { multiStatus.add(e.getStatus()); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/CompositeSourceContainer.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/CompositeSourceContainer.java index 0179fb0b5..db91cac03 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/CompositeSourceContainer.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/CompositeSourceContainer.java @@ -92,7 +92,7 @@ public abstract class CompositeSourceContainer extends AbstractSourceContainer { if (single == null) { single = e; } else if (multiStatus == null) { - multiStatus = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, new IStatus[]{single.getStatus()}, SourceLookupMessages.CompositeSourceContainer_0, null); //$NON-NLS-1$ + multiStatus = new MultiStatus(DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, new IStatus[]{single.getStatus()}, SourceLookupMessages.CompositeSourceContainer_0, null); multiStatus.add(e.getStatus()); } else { multiStatus.add(e.getStatus()); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/DefaultSourceContainer.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/DefaultSourceContainer.java index 91ea2ccda..fead34c5a 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/DefaultSourceContainer.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/DefaultSourceContainer.java @@ -98,7 +98,7 @@ public class DefaultSourceContainer extends CompositeSourceContainer { * @see org.eclipse.debug.core.sourcelookup.ISourceContainer#getName() */ public String getName() { - return SourceLookupMessages.DefaultSourceContainer_0; //$NON-NLS-1$ + return SourceLookupMessages.DefaultSourceContainer_0; } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ExternalArchiveSourceContainer.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ExternalArchiveSourceContainer.java index 543de4767..249412604 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ExternalArchiveSourceContainer.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ExternalArchiveSourceContainer.java @@ -177,7 +177,7 @@ public class ExternalArchiveSourceContainer extends AbstractSourceContainer { } } } catch (IllegalStateException e) { - abort(MessageFormat.format(SourceLookupMessages.ExternalArchiveSourceContainer_1, new String[] {getName()}), e); //$NON-NLS-1$ + abort(MessageFormat.format(SourceLookupMessages.ExternalArchiveSourceContainer_1, new String[] {getName()}), e); } } return null; @@ -192,7 +192,7 @@ public class ExternalArchiveSourceContainer extends AbstractSourceContainer { try { return SourceLookupUtils.getZipFile(fArchivePath); } catch (IOException e) { - abort(MessageFormat.format(SourceLookupMessages.ExternalArchiveSourceContainer_2, new String[]{fArchivePath}), e); //$NON-NLS-1$ + abort(MessageFormat.format(SourceLookupMessages.ExternalArchiveSourceContainer_2, new String[]{fArchivePath}), e); } return null; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/LocalFileStorage.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/LocalFileStorage.java index 29b7e578a..ccc54e881 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/LocalFileStorage.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/LocalFileStorage.java @@ -57,7 +57,7 @@ public class LocalFileStorage extends PlatformObject implements IStorage { try { return new FileInputStream(getFile()); } catch (IOException e){ - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, SourceLookupMessages.LocalFileStorage_0, e)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, SourceLookupMessages.LocalFileStorage_0, e)); } } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/WorkspaceSourceContainer.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/WorkspaceSourceContainer.java index 8f7fcac80..3f14bb51c 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/WorkspaceSourceContainer.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/WorkspaceSourceContainer.java @@ -41,7 +41,7 @@ public class WorkspaceSourceContainer extends CompositeSourceContainer { * @see org.eclipse.debug.core.sourcelookup.ISourceContainer#getName() */ public String getName() { - return SourceLookupMessages.WorkspaceSourceContainer_0; //$NON-NLS-1$ + return SourceLookupMessages.WorkspaceSourceContainer_0; } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ZipEntryStorage.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ZipEntryStorage.java index de406fe21..e3e2cd646 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ZipEntryStorage.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/containers/ZipEntryStorage.java @@ -65,7 +65,7 @@ public class ZipEntryStorage extends PlatformObject implements IStorage { try { return getArchive().getInputStream(getZipEntry()); } catch (IOException e) { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, SourceLookupMessages.ZipEntryStorage_0, e)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, SourceLookupMessages.ZipEntryStorage_0, e)); } } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java index 9057dbc9c..67d83d0c9 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java @@ -234,9 +234,9 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis String markerType = elements[i].getAttribute(MARKER_TYPE); String className = elements[i].getAttribute(CLASS); if (markerType == null) { - invalidBreakpointExtension(MessageFormat.format(DebugCoreMessages.BreakpointManager_Breakpoint_extension__0__missing_required_attribute__markerType_1, new String[]{elements[i].getDeclaringExtension().getUniqueIdentifier()})); //$NON-NLS-1$ + invalidBreakpointExtension(MessageFormat.format(DebugCoreMessages.BreakpointManager_Breakpoint_extension__0__missing_required_attribute__markerType_1, new String[]{elements[i].getDeclaringExtension().getUniqueIdentifier()})); } else if (className == null){ - invalidBreakpointExtension(MessageFormat.format(DebugCoreMessages.BreakpointManager_Breakpoint_extension__0__missing_required_attribute__class_2, new String[]{elements[i].getDeclaringExtension().getUniqueIdentifier()})); //$NON-NLS-1$ + invalidBreakpointExtension(MessageFormat.format(DebugCoreMessages.BreakpointManager_Breakpoint_extension__0__missing_required_attribute__class_2, new String[]{elements[i].getDeclaringExtension().getUniqueIdentifier()})); } else { fBreakpointExtensions.put(markerType, elements[i]); } @@ -402,14 +402,14 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis IConfigurationElement config = (IConfigurationElement)fBreakpointExtensions.get(marker.getType()); if (config == null) { throw new DebugException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.CONFIGURATION_INVALID, MessageFormat.format(DebugCoreMessages.BreakpointManager_Missing_breakpoint_definition, new String[] {marker.getType()}), null)); //$NON-NLS-1$ + DebugException.CONFIGURATION_INVALID, MessageFormat.format(DebugCoreMessages.BreakpointManager_Missing_breakpoint_definition, new String[] {marker.getType()}), null)); } Object object = config.createExecutableExtension(CLASS); if (object instanceof IBreakpoint) { breakpoint = (IBreakpoint)object; breakpoint.setMarker(marker); } else { - invalidBreakpointExtension(MessageFormat.format(DebugCoreMessages.BreakpointManager_Class__0__specified_by_breakpoint_extension__1__does_not_implement_required_interface_IBreakpoint__3, new String[]{config.getAttribute(CLASS), config.getDeclaringExtension().getUniqueIdentifier()})); //$NON-NLS-1$ + invalidBreakpointExtension(MessageFormat.format(DebugCoreMessages.BreakpointManager_Class__0__specified_by_breakpoint_extension__1__does_not_implement_required_interface_IBreakpoint__3, new String[]{config.getAttribute(CLASS), config.getDeclaringExtension().getUniqueIdentifier()})); } return breakpoint; } catch (CoreException e) { @@ -514,7 +514,7 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis String id= breakpoint.getModelIdentifier(); if (id == null) { throw new DebugException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.CONFIGURATION_INVALID, DebugCoreMessages.BreakpointManager_Missing_model_identifier, null)); //$NON-NLS-1$ + DebugException.CONFIGURATION_INVALID, DebugCoreMessages.BreakpointManager_Missing_model_identifier, null)); } } catch (CoreException e) { throw new DebugException(e.getStatus()); @@ -776,7 +776,7 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.BreakpointManager_An_exception_occurred_during_breakpoint_change_notification__4, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.BreakpointManager_An_exception_occurred_during_breakpoint_change_notification__4, exception); DebugPlugin.log(status); } @@ -840,7 +840,7 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.BreakpointManager_An_exception_occurred_during_breakpoint_change_notification__5, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.BreakpointManager_An_exception_occurred_during_breakpoint_change_notification__5, exception); DebugPlugin.log(status); } @@ -943,7 +943,7 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.BreakpointManager_An_exception_occurred_during_breakpoint_change_notification__5, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.BreakpointManager_An_exception_occurred_during_breakpoint_change_notification__5, exception); DebugPlugin.log(status); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ContributedDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ContributedDelegate.java index b3da6b6d2..bebe58a8b 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ContributedDelegate.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ContributedDelegate.java @@ -104,7 +104,7 @@ public class ContributedDelegate { if (object instanceof ILaunchConfigurationDelegate) { fDelegate = (ILaunchConfigurationDelegate)object; } else { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_Launch_delegate_for__0__does_not_implement_required_interface_ILaunchConfigurationDelegate__1, new String[]{getIdentifier()}), null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_Launch_delegate_for__0__does_not_implement_required_interface_ILaunchConfigurationDelegate__1, new String[]{getIdentifier()}), null)); } } return fDelegate; diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/EnvironmentVariableResolver.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/EnvironmentVariableResolver.java index ba4595bfa..b3f1f6c8a 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/EnvironmentVariableResolver.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/EnvironmentVariableResolver.java @@ -33,7 +33,7 @@ public class EnvironmentVariableResolver implements IDynamicVariableResolver { */ public String resolveValue(IDynamicVariable variable, String argument) throws CoreException { if (argument == null) { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), IStatus.ERROR, DebugCoreMessages.EnvironmentVariableResolver_0, null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), IStatus.ERROR, DebugCoreMessages.EnvironmentVariableResolver_0, null)); } Map map= DebugPlugin.getDefault().getLaunchManager().getNativeEnvironmentCasePreserved(); String value= (String) map.get(argument); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ExpressionManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ExpressionManager.java index 913b1a3c3..2c5e24082 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ExpressionManager.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ExpressionManager.java @@ -477,7 +477,7 @@ public class ExpressionManager extends PlatformObject implements IExpressionMana * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.ExpressionManager_An_exception_occurred_during_expression_change_notification__1, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.ExpressionManager_An_exception_occurred_during_expression_change_notification__1, exception); DebugPlugin.log(status); } @@ -539,7 +539,7 @@ public class ExpressionManager extends PlatformObject implements IExpressionMana * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.ExpressionManager_An_exception_occurred_during_expression_change_notification__1, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.ExpressionManager_An_exception_occurred_during_expression_change_notification__1, exception); DebugPlugin.log(status); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/InputStreamMonitor.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/InputStreamMonitor.java index 693ed78c6..3aa4e78e3 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/InputStreamMonitor.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/InputStreamMonitor.java @@ -79,7 +79,7 @@ public class InputStreamMonitor { public void run() { write(); } - }, DebugCoreMessages.InputStreamMonitor_label); //$NON-NLS-1$ + }, DebugCoreMessages.InputStreamMonitor_label); fThread.setDaemon(true); fThread.start(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java index a0cf26cc2..9243f573c 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java @@ -99,9 +99,9 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig String message = null; if (path == null) { - message = DebugCoreMessages.LaunchConfiguration_Invalid_launch_configuration_memento__missing_path_attribute_3; //$NON-NLS-1$ + message = DebugCoreMessages.LaunchConfiguration_Invalid_launch_configuration_memento__missing_path_attribute_3; } else if (localString == null) { - message = DebugCoreMessages.LaunchConfiguration_Invalid_launch_configuration_memento__missing_local_attribute_4; //$NON-NLS-1$ + message = DebugCoreMessages.LaunchConfiguration_Invalid_launch_configuration_memento__missing_local_attribute_4; } if (message != null) { IStatus s = newStatus(message, DebugException.INTERNAL_ERROR, null); @@ -117,7 +117,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig } setLocation(location); if (location == null) { - IStatus s = newStatus(MessageFormat.format(DebugCoreMessages.LaunchConfiguration_Unable_to_restore_location_for_launch_configuration_from_memento___0__1, new String[]{path}), DebugPlugin.INTERNAL_ERROR, null); //$NON-NLS-1$ + IStatus s = newStatus(MessageFormat.format(DebugCoreMessages.LaunchConfiguration_Unable_to_restore_location_for_launch_configuration_from_memento___0__1, new String[]{path}), DebugPlugin.INTERNAL_ERROR, null); throw new CoreException(s); } return; @@ -128,7 +128,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig } catch (IOException e) { ex = e; } - IStatus s = newStatus(DebugCoreMessages.LaunchConfiguration_Exception_occurred_parsing_memento_5, DebugException.INTERNAL_ERROR, ex); //$NON-NLS-1$ + IStatus s = newStatus(DebugCoreMessages.LaunchConfiguration_Exception_occurred_parsing_memento_5, DebugException.INTERNAL_ERROR, ex); throw new CoreException(s); } @@ -311,7 +311,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig if (!(getLocation().toFile().delete())) { throw new DebugException( new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfiguration_Failed_to_delete_launch_configuration__1, null) //$NON-NLS-1$ + DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfiguration_Failed_to_delete_launch_configuration__1, null) ); } // manually update the launch manager cache since there @@ -385,7 +385,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig IFile file = getFile(); if (file == null) { // cannot generate memento - missing file - IStatus status = newStatus(MessageFormat.format(DebugCoreMessages.LaunchConfiguration_Unable_to_generate_memento_for__0___shared_file_does_not_exist__1, new String[]{getName()}), DebugException.INTERNAL_ERROR, null); //$NON-NLS-1$ + IStatus status = newStatus(MessageFormat.format(DebugCoreMessages.LaunchConfiguration_Unable_to_generate_memento_for__0___shared_file_does_not_exist__1, new String[]{getName()}), DebugException.INTERNAL_ERROR, null); throw new CoreException(status); } relativePath = getFile().getFullPath(); @@ -406,7 +406,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig e= te; } if (e != null) { - IStatus status = newStatus(DebugCoreMessages.LaunchConfiguration_Exception_occurred_creating_launch_configuration_memento_9, DebugException.INTERNAL_ERROR, e); //$NON-NLS-1$ + IStatus status = newStatus(DebugCoreMessages.LaunchConfiguration_Exception_occurred_creating_launch_configuration_memento_9, DebugException.INTERNAL_ERROR, e); throw new CoreException(status); } //execution will never reach here @@ -537,7 +537,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig // ensure the launch mode is valid if (!mode.equals(launch.getLaunchMode())) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, - MessageFormat.format(DebugCoreMessages.LaunchConfiguration_13, new String[]{mode, launch.getLaunchMode()}), null); //$NON-NLS-1$ + MessageFormat.format(DebugCoreMessages.LaunchConfiguration_13, new String[]{mode, launch.getLaunchMode()}), null); throw new CoreException(status); } } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationInfo.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationInfo.java index b84edf23a..ff0bc6095 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationInfo.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationInfo.java @@ -117,7 +117,7 @@ public class LaunchConfigurationInfo { throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_java_lang_String__1, new String[] {key}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_java_lang_String__1, new String[] {key}), null ) ); } @@ -142,7 +142,7 @@ public class LaunchConfigurationInfo { throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_int__2, new String[] {key}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_int__2, new String[] {key}), null ) ); } @@ -167,7 +167,7 @@ public class LaunchConfigurationInfo { throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_boolean__3, new String[] {key}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_boolean__3, new String[] {key}), null ) ); } @@ -192,7 +192,7 @@ public class LaunchConfigurationInfo { throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_java_util_List__1, new String[] {key}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_java_util_List__1, new String[] {key}), null ) ); } @@ -217,7 +217,7 @@ public class LaunchConfigurationInfo { throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_java_util_Map__1, new String[] {key}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_Attribute__0__is_not_of_type_java_util_Map__1, new String[] {key}), null ) ); } @@ -303,7 +303,7 @@ public class LaunchConfigurationInfo { throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationInfo_36, null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationInfo_36, null ) ); } @@ -385,7 +385,7 @@ public class LaunchConfigurationInfo { ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurationType(id); if (type == null) { - String message= MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_missing_type, new Object[]{id}); //$NON-NLS-1$ + String message= MessageFormat.format(DebugCoreMessages.LaunchConfigurationInfo_missing_type, new Object[]{id}); throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), @@ -500,7 +500,7 @@ public class LaunchConfigurationInfo { new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationInfo_Invalid_launch_configuration_XML__10, null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationInfo_Invalid_launch_configuration_XML__10, null ) ); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationType.java index 6097eb03c..9e057c90c 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationType.java @@ -229,7 +229,7 @@ public class LaunchConfigurationType extends PlatformObject implements ILaunchCo */ public ILaunchConfigurationDelegate getDelegate(String mode) throws CoreException { if (!supportsMode(mode)) { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_9, new String[] {mode, getIdentifier()}), null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_9, new String[] {mode, getIdentifier()}), null)); } if (fDelegates == null) { // initialize delegate table with base modes @@ -247,7 +247,7 @@ public class LaunchConfigurationType extends PlatformObject implements ILaunchCo } return (ILaunchConfigurationDelegate)object; } - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_Launch_delegate_for__0__does_not_implement_required_interface_ILaunchConfigurationDelegate__1, new String[]{getName()}), null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_Launch_delegate_for__0__does_not_implement_required_interface_ILaunchConfigurationDelegate__1, new String[]{getName()}), null)); } // contributed modes List contributed = ((LaunchManager)DebugPlugin.getDefault().getLaunchManager()).getContributedDelegates(); @@ -269,7 +269,7 @@ public class LaunchConfigurationType extends PlatformObject implements ILaunchCo } else { return delegate; } - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_10, new String[] {getIdentifier(), mode}), null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchConfigurationType_10, new String[] {getIdentifier(), mode}), null)); } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationWorkingCopy.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationWorkingCopy.java index d2859fc10..a1b69d2c8 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationWorkingCopy.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfigurationWorkingCopy.java @@ -216,7 +216,7 @@ public class LaunchConfigurationWorkingCopy extends LaunchConfiguration implemen throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationWorkingCopy__0__occurred_generating_launch_configuration_XML__1, new String[]{e.toString()}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationWorkingCopy__0__occurred_generating_launch_configuration_XML__1, new String[]{e.toString()}), null ) ); } @@ -244,7 +244,7 @@ public class LaunchConfigurationWorkingCopy extends LaunchConfiguration implemen throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationWorkingCopy__0__occurred_generating_launch_configuration_XML__1, new String[]{ie.toString()}), null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, MessageFormat.format(DebugCoreMessages.LaunchConfigurationWorkingCopy__0__occurred_generating_launch_configuration_XML__1, new String[]{ie.toString()}), null ) ); } @@ -256,7 +256,7 @@ public class LaunchConfigurationWorkingCopy extends LaunchConfiguration implemen throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationWorkingCopy_Specified_container_for_launch_configuration_does_not_exist_2, null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationWorkingCopy_Specified_container_for_launch_configuration_does_not_exist_2, null ) ); } @@ -267,7 +267,7 @@ public class LaunchConfigurationWorkingCopy extends LaunchConfiguration implemen throw new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationWorkingCopy_5, null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchConfigurationWorkingCopy_5, null )); } if (!file.exists()) { diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java index bada14051..15dcd78d7 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java @@ -564,7 +564,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe } else { IFile file = ((LaunchConfiguration) config).getFile(); if (file == null) { - throw createDebugException(MessageFormat.format(DebugCoreMessages.LaunchManager_30, new String[] {config.getName()}), null); //$NON-NLS-1$ + throw createDebugException(MessageFormat.format(DebugCoreMessages.LaunchManager_30, new String[] {config.getName()}), null); } stream = file.getContents(); } @@ -590,7 +590,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe } else { throw createDebugException( - MessageFormat.format(DebugCoreMessages.LaunchManager_does_not_exist, new String[]{config.getName(), config.getLocation().toOSString()}), null); //$NON-NLS-1$ + MessageFormat.format(DebugCoreMessages.LaunchManager_does_not_exist, new String[]{config.getName(), config.getLocation().toOSString()}), null); } } return info; @@ -602,7 +602,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe */ private void throwException(ILaunchConfiguration config, Throwable e) throws DebugException { IPath path = config.getLocation(); - throw createDebugException(MessageFormat.format(DebugCoreMessages.LaunchManager__0__occurred_while_reading_launch_configuration_file__1___1, new String[]{e.toString(), path.toOSString()}), e); //$NON-NLS-1$ + throw createDebugException(MessageFormat.format(DebugCoreMessages.LaunchManager__0__occurred_while_reading_launch_configuration_file__1___1, new String[]{e.toString(), path.toOSString()}), e); } /** @@ -1026,7 +1026,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe new DebugException( new Status( IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), - DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchManager_Invalid_launch_configuration_index__18, null //$NON-NLS-1$ + DebugException.REQUEST_FAILED, DebugCoreMessages.LaunchManager_Invalid_launch_configuration_index__18, null ) ); @@ -1212,7 +1212,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe } else { // invalid status handler IStatus s = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.INTERNAL_ERROR, - MessageFormat.format(DebugCoreMessages.LaunchManager_Invalid_source_locator_extentsion_defined_by_plug_in____0_______id___not_specified_12, new String[] {configurationElement.getNamespace()} ), null); //$NON-NLS-1$ + MessageFormat.format(DebugCoreMessages.LaunchManager_Invalid_source_locator_extentsion_defined_by_plug_in____0_______id___not_specified_12, new String[] {configurationElement.getNamespace()} ), null); DebugPlugin.log(s); } } @@ -1236,7 +1236,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe } else { // invalid status handler IStatus s = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.INTERNAL_ERROR, - MessageFormat.format(DebugCoreMessages.LaunchManager_Invalid_launch_configuration_comparator_extension_defined_by_plug_in__0____attribute_not_specified_1, new String[] {configurationElement.getNamespace()}), null); //$NON-NLS-1$ + MessageFormat.format(DebugCoreMessages.LaunchManager_Invalid_launch_configuration_comparator_extension_defined_by_plug_in__0____attribute_not_specified_1, new String[] {configurationElement.getNamespace()}), null); DebugPlugin.log(s); } } @@ -1251,7 +1251,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe IConfigurationElement config = (IConfigurationElement)fSourceLocators.get(identifier); if (config == null) { throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugException.INTERNAL_ERROR, - MessageFormat.format(DebugCoreMessages.LaunchManager_Source_locator_does_not_exist___0__13, new String[] {identifier} ), null)); //$NON-NLS-1$ + MessageFormat.format(DebugCoreMessages.LaunchManager_Source_locator_does_not_exist___0__13, new String[] {identifier} ), null)); } IPersistableSourceLocator sourceLocator = (IPersistableSourceLocator)config.createExecutableExtension("class"); //$NON-NLS-1$ if (sourceLocator instanceof AbstractSourceLookupDirector) { @@ -1416,7 +1416,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LaunchManager_An_exception_occurred_during_launch_change_notification__1, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LaunchManager_An_exception_occurred_during_launch_change_notification__1, exception); DebugPlugin.log(status); } @@ -1478,7 +1478,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LaunchManager_An_exception_occurred_during_launch_change_notification__1, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LaunchManager_An_exception_occurred_during_launch_change_notification__1, exception); DebugPlugin.log(status); } @@ -1568,7 +1568,7 @@ public class LaunchManager extends PlatformObject implements ILaunchManager, IRe * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ public void handleException(Throwable exception) { - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LaunchManager_An_exception_occurred_during_launch_configuration_change_notification__3, exception); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LaunchManager_An_exception_occurred_during_launch_configuration_change_notification__3, exception); DebugPlugin.log(status); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchMode.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchMode.java index b4bfc5ddf..741afd8c2 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchMode.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchMode.java @@ -57,7 +57,7 @@ public class LaunchMode implements ILaunchMode { } private void missingAttribute(String attrName) throws CoreException { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchMode_1,new String[]{attrName}), null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LaunchMode_1,new String[]{attrName}), null)); } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java index b52129231..8e47b4b7a 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java @@ -34,11 +34,11 @@ public class LogicalStructureProvider { fConfigurationElement= element; fModelIdentifier= fConfigurationElement.getAttribute("modelIdentifier"); //$NON-NLS-1$ if (fModelIdentifier == null) { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LogicalStructureProvider_0, null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LogicalStructureProvider_0, null)); } String className= fConfigurationElement.getAttribute("class"); //$NON-NLS-1$ if (className == null) { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LogicalStructureProvider_1, null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, DebugCoreMessages.LogicalStructureProvider_1, null)); } } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureType.java index 10f81bb55..1832f7012 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureType.java @@ -69,7 +69,7 @@ public class LogicalStructureType implements ILogicalStructureType { } private void missingAttribute(String attrName) throws CoreException { - throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LogicalStructureType_7,new String[]{attrName}), null)); //$NON-NLS-1$ + throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, MessageFormat.format(DebugCoreMessages.LogicalStructureType_7,new String[]{attrName}), null)); } /* (non-Javadoc) @@ -133,7 +133,7 @@ public class LogicalStructureType implements ILogicalStructureType { } String description = getDescription(); if (description == null) { - return DebugCoreMessages.LogicalStructureType_0; //$NON-NLS-1$ + return DebugCoreMessages.LogicalStructureType_0; } return description; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/NullStreamsProxy.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/NullStreamsProxy.java index 50cda6fc1..5d0dab378 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/NullStreamsProxy.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/NullStreamsProxy.java @@ -71,7 +71,7 @@ public class NullStreamsProxy implements IStreamsProxy2 { } catch (IOException e) { } } - }, DebugCoreMessages.NullStreamsProxy_0); //$NON-NLS-1$ + }, DebugCoreMessages.NullStreamsProxy_0); thread.setDaemon(true); thread.start(); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java index 32419d542..a88012ade 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java @@ -192,7 +192,7 @@ public class OutputStreamMonitor implements IFlushableStreamMonitor { public void run() { read(); } - }, DebugCoreMessages.OutputStreamMonitor_label); //$NON-NLS-1$ + }, DebugCoreMessages.OutputStreamMonitor_label); fThread.setDaemon(true); fThread.setPriority(Thread.MIN_PRIORITY); fThread.start(); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/WatchExpression.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/WatchExpression.java index 0b2334347..dec0a24ec 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/WatchExpression.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/WatchExpression.java @@ -93,7 +93,7 @@ public class WatchExpression implements IWatchExpression { return true; } public String[] getErrorMessages() { - return new String[] { DebugCoreMessages.WatchExpression_0 }; //$NON-NLS-1$ + return new String[] { DebugCoreMessages.WatchExpression_0 }; } public String getExpressionText() { return WatchExpression.this.getExpressionText(); diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceContainerType.java index f361a9f19..cb2b6eb7f 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceContainerType.java @@ -54,7 +54,7 @@ public class SourceContainerType implements ISourceContainerType { if (this.equals(container.getType())) { return getDelegate().getMemento(container); } - IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, SourceLookupMessages.SourceContainerType_3, null); //$NON-NLS-1$ + IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, SourceLookupMessages.SourceContainerType_3, null); throw new CoreException(status); } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ArchiveSourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ArchiveSourceContainerType.java index 6d3f67382..27c6d768f 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ArchiveSourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ArchiveSourceContainerType.java @@ -39,16 +39,16 @@ public class ArchiveSourceContainerType extends AbstractSourceContainerTypeDeleg if ("archive".equals(element.getNodeName())) { //$NON-NLS-1$ String string = element.getAttribute("path"); //$NON-NLS-1$ if (string == null || string.length() == 0) { - abort(SourceLookupMessages.ExternalArchiveSourceContainerType_10, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ExternalArchiveSourceContainerType_10, null); } String detect = element.getAttribute("detectRoot"); //$NON-NLS-1$ boolean auto = "true".equals(detect); //$NON-NLS-1$ IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(string)); return new ArchiveSourceContainer(file, auto); } - abort(SourceLookupMessages.ExternalArchiveSourceContainerType_11, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ExternalArchiveSourceContainerType_11, null); } - abort(SourceLookupMessages.ExternalArchiveSourceContainerType_12, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ExternalArchiveSourceContainerType_12, null); return null; } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DefaultSourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DefaultSourceContainerType.java index 9cfa78177..bea44536c 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DefaultSourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DefaultSourceContainerType.java @@ -47,9 +47,9 @@ public class DefaultSourceContainerType extends AbstractSourceContainerTypeDeleg if ("default".equals(element.getNodeName())) { //$NON-NLS-1$ return new DefaultSourceContainer(); } - abort(SourceLookupMessages.DefaultSourceContainerType_6, null); //$NON-NLS-1$ + abort(SourceLookupMessages.DefaultSourceContainerType_6, null); } - abort(SourceLookupMessages.DefaultSourceContainerType_7, null); //$NON-NLS-1$ + abort(SourceLookupMessages.DefaultSourceContainerType_7, null); return null; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DirectorySourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DirectorySourceContainerType.java index 7734295ae..d25a0ff66 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DirectorySourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/DirectorySourceContainerType.java @@ -37,15 +37,15 @@ public class DirectorySourceContainerType extends AbstractSourceContainerTypeDel if ("directory".equals(element.getNodeName())) { //$NON-NLS-1$ String string = element.getAttribute("path"); //$NON-NLS-1$ if (string == null || string.length() == 0) { - abort(SourceLookupMessages.DirectorySourceContainerType_10, null); //$NON-NLS-1$ + abort(SourceLookupMessages.DirectorySourceContainerType_10, null); } String nest = element.getAttribute("nest"); //$NON-NLS-1$ boolean nested = "true".equals(nest); //$NON-NLS-1$ return new DirectorySourceContainer(new Path(string), nested); } - abort(SourceLookupMessages.DirectorySourceContainerType_11, null); //$NON-NLS-1$ + abort(SourceLookupMessages.DirectorySourceContainerType_11, null); } - abort(SourceLookupMessages.DirectorySourceContainerType_12, null); //$NON-NLS-1$ + abort(SourceLookupMessages.DirectorySourceContainerType_12, null); return null; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ExternalArchiveSourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ExternalArchiveSourceContainerType.java index 2734b6b00..43f295ac5 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ExternalArchiveSourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ExternalArchiveSourceContainerType.java @@ -36,15 +36,15 @@ public class ExternalArchiveSourceContainerType extends AbstractSourceContainerT if ("archive".equals(element.getNodeName())) { //$NON-NLS-1$ String string = element.getAttribute("path"); //$NON-NLS-1$ if (string == null || string.length() == 0) { - abort(SourceLookupMessages.ExternalArchiveSourceContainerType_10, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ExternalArchiveSourceContainerType_10, null); } String detect = element.getAttribute("detectRoot"); //$NON-NLS-1$ boolean auto = "true".equals(detect); //$NON-NLS-1$ return new ExternalArchiveSourceContainer(string, auto); } - abort(SourceLookupMessages.ExternalArchiveSourceContainerType_11, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ExternalArchiveSourceContainerType_11, null); } - abort(SourceLookupMessages.ExternalArchiveSourceContainerType_12, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ExternalArchiveSourceContainerType_12, null); return null; } /* (non-Javadoc) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/FolderSourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/FolderSourceContainerType.java index ea83044dd..ce9ea0899 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/FolderSourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/FolderSourceContainerType.java @@ -57,7 +57,7 @@ public class FolderSourceContainerType extends AbstractSourceContainerTypeDelega if ("folder".equals(element.getNodeName())) { //$NON-NLS-1$ String string = element.getAttribute("path"); //$NON-NLS-1$ if (string == null || string.length() == 0) { - abort(SourceLookupMessages.FolderSourceContainerType_10, null); //$NON-NLS-1$ + abort(SourceLookupMessages.FolderSourceContainerType_10, null); } String nest = element.getAttribute("nest"); //$NON-NLS-1$ boolean nested = "true".equals(nest); //$NON-NLS-1$ @@ -65,9 +65,9 @@ public class FolderSourceContainerType extends AbstractSourceContainerTypeDelega IFolder folder = workspace.getRoot().getFolder(new Path(string)); return new FolderSourceContainer(folder, nested); } - abort(SourceLookupMessages.FolderSourceContainerType_11, null); //$NON-NLS-1$ + abort(SourceLookupMessages.FolderSourceContainerType_11, null); } - abort(SourceLookupMessages.FolderSourceContainerType_12, null); //$NON-NLS-1$ + abort(SourceLookupMessages.FolderSourceContainerType_12, null); return null; } } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ProjectSourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ProjectSourceContainerType.java index ef2ac2185..7dfbb6c40 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ProjectSourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/ProjectSourceContainerType.java @@ -56,7 +56,7 @@ public class ProjectSourceContainerType extends AbstractSourceContainerTypeDeleg if ("project".equals(element.getNodeName())) { //$NON-NLS-1$ String string = element.getAttribute("name"); //$NON-NLS-1$ if (string == null || string.length() == 0) { - abort(SourceLookupMessages.ProjectSourceContainerType_10, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ProjectSourceContainerType_10, null); } String nest = element.getAttribute("referencedProjects"); //$NON-NLS-1$ boolean ref = "true".equals(nest); //$NON-NLS-1$ @@ -64,9 +64,9 @@ public class ProjectSourceContainerType extends AbstractSourceContainerTypeDeleg IProject project = workspace.getRoot().getProject(string); return new ProjectSourceContainer(project, ref); } - abort(SourceLookupMessages.ProjectSourceContainerType_11, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ProjectSourceContainerType_11, null); } - abort(SourceLookupMessages.ProjectSourceContainerType_12, null); //$NON-NLS-1$ + abort(SourceLookupMessages.ProjectSourceContainerType_12, null); return null; } } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/WorkspaceSourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/WorkspaceSourceContainerType.java index cc7a8d7fe..460fadd1f 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/WorkspaceSourceContainerType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/containers/WorkspaceSourceContainerType.java @@ -36,9 +36,9 @@ public class WorkspaceSourceContainerType extends AbstractSourceContainerTypeDel if ("workspace".equals(element.getNodeName())) { //$NON-NLS-1$ return new WorkspaceSourceContainer(); } - abort(SourceLookupMessages.WorkspaceSourceContainerType_3, null); //$NON-NLS-1$ + abort(SourceLookupMessages.WorkspaceSourceContainerType_3, null); } - abort(SourceLookupMessages.WorkspaceSourceContainerType_4, null); //$NON-NLS-1$ + abort(SourceLookupMessages.WorkspaceSourceContainerType_4, null); return null; } /* (non-Javadoc) |