From 2e49a88af9904a87c3ac7675b48d7117e49c7d7f Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Fri, 12 Mar 2004 19:34:53 +0000 Subject: [PATCH] Externalize strings from Tanya. --- debug/org.eclipse.cdt.debug.mi.core/ChangeLog | 6 +++ .../cdt/debug/mi/core/command/CLICommand.java | 8 +-- .../command/CygwinMIEnvironmentDirectory.java | 6 +-- .../debug/mi/core/command/MIBreakAfter.java | 2 +- .../mi/core/command/MIBreakCondition.java | 2 +- .../debug/mi/core/command/MIBreakDelete.java | 2 +- .../debug/mi/core/command/MIBreakDisable.java | 2 +- .../debug/mi/core/command/MIBreakEnable.java | 2 +- .../debug/mi/core/command/MIBreakInsert.java | 10 ++-- .../debug/mi/core/command/MIBreakList.java | 2 +- .../debug/mi/core/command/MIBreakWatch.java | 6 +-- .../cdt/debug/mi/core/command/MICommand.java | 4 +- .../mi/core/command/MIDataDisassemble.java | 18 +++---- .../command/MIDataEvaluateExpression.java | 2 +- .../command/MIDataListChangedRegisters.java | 2 +- .../core/command/MIDataListRegisterNames.java | 2 +- .../command/MIDataListRegisterValues.java | 16 +++--- .../mi/core/command/MIDataReadMemory.java | 26 +++++----- .../mi/core/command/MIDataWriteMemory.java | 26 +++++----- .../command/MIDataWriteRegisterValues.java | 16 +++--- .../mi/core/command/MIEnvironmentCD.java | 2 +- .../mi/core/command/MIEnvironmentPWD.java | 2 +- .../mi/core/command/MIEnvironmentPath.java | 2 +- .../debug/mi/core/command/MIExecAbort.java | 2 +- .../debug/mi/core/command/MIExecContinue.java | 2 +- .../debug/mi/core/command/MIExecFinish.java | 2 +- .../mi/core/command/MIExecInterrupt.java | 2 +- .../cdt/debug/mi/core/command/MIExecNext.java | 2 +- .../core/command/MIExecNextInstruction.java | 2 +- .../debug/mi/core/command/MIExecReturn.java | 2 +- .../cdt/debug/mi/core/command/MIExecRun.java | 4 +- .../cdt/debug/mi/core/command/MIExecStep.java | 2 +- .../core/command/MIExecStepInstruction.java | 2 +- .../debug/mi/core/command/MIExecUntil.java | 4 +- .../debug/mi/core/command/MIFileExecFile.java | 2 +- .../mi/core/command/MIFileSymbolFile.java | 2 +- .../cdt/debug/mi/core/command/MIGDBExit.java | 2 +- .../cdt/debug/mi/core/command/MIGDBSet.java | 2 +- .../mi/core/command/MIGDBSetAutoSolib.java | 2 +- .../core/command/MIGDBSetSolibSearchPath.java | 4 +- .../command/MIGDBSetStopOnSolibEvents.java | 2 +- .../cdt/debug/mi/core/command/MIGDBShow.java | 2 +- .../mi/core/command/MIGDBShowExitCode.java | 2 +- .../cdt/debug/mi/core/command/MIPType.java | 2 +- .../mi/core/command/MISharedLibrary.java | 4 +- .../mi/core/command/MIStackInfoDepth.java | 4 +- .../mi/core/command/MIStackListArguments.java | 12 ++--- .../mi/core/command/MIStackListFrames.java | 4 +- .../mi/core/command/MIStackListLocals.java | 6 +-- .../mi/core/command/MIStackSelectFrame.java | 2 +- .../debug/mi/core/command/MITargetAttach.java | 2 +- .../debug/mi/core/command/MITargetDetach.java | 2 +- .../mi/core/command/MITargetDownload.java | 2 +- .../mi/core/command/MIThreadListIds.java | 2 +- .../debug/mi/core/command/MIThreadSelect.java | 2 +- .../debug/mi/core/command/MIVarAssign.java | 2 +- .../debug/mi/core/command/MIVarCreate.java | 6 +-- .../core/command/MIVarEvaluateExpression.java | 2 +- .../mi/core/command/MIVarInfoExpression.java | 2 +- .../mi/core/command/MIVarInfoNumChildren.java | 2 +- .../debug/mi/core/command/MIVarInfoType.java | 2 +- .../mi/core/command/MIVarListChildren.java | 2 +- .../debug/mi/core/command/MIVarSetFormat.java | 2 +- .../mi/core/command/MIVarShowAttributes.java | 2 +- .../mi/core/command/MIVarShowFormat.java | 2 +- .../debug/mi/core/command/MIVarUpdate.java | 2 +- .../cdt/debug/mi/core/command/MIWhatis.java | 2 +- .../mi/core/event/MIBreakpointHitEvent.java | 8 +-- .../cdt/debug/mi/core/event/MIErrorEvent.java | 8 +-- .../core/event/MIFunctionFinishedEvent.java | 18 +++---- .../mi/core/event/MIInferiorExitEvent.java | 4 +- .../core/event/MIInferiorSignalExitEvent.java | 14 +++--- .../mi/core/event/MILocationReachedEvent.java | 6 +-- .../debug/mi/core/event/MISignalEvent.java | 14 +++--- .../mi/core/event/MISteppingRangeEvent.java | 4 +- .../debug/mi/core/event/MIStoppedEvent.java | 4 +- .../mi/core/event/MIWatchpointScopeEvent.java | 6 +-- .../core/event/MIWatchpointTriggerEvent.java | 32 ++++++------ .../cdt/debug/mi/core/output/MIArg.java | 12 ++--- .../cdt/debug/mi/core/output/MIAsm.java | 16 +++--- .../debug/mi/core/output/MIAsyncRecord.java | 2 +- .../mi/core/output/MIBreakInsertInfo.java | 8 +-- .../debug/mi/core/output/MIBreakListInfo.java | 6 +-- .../debug/mi/core/output/MIBreakpoint.java | 50 +++++++++---------- .../cdt/debug/mi/core/output/MIConst.java | 22 ++++---- .../mi/core/output/MIDataDisassembleInfo.java | 6 +-- .../output/MIDataEvaluateExpressionInfo.java | 4 +- .../MIDataListChangedRegistersInfo.java | 2 +- .../output/MIDataListRegisterNamesInfo.java | 4 +- .../output/MIDataListRegisterValuesInfo.java | 2 +- .../mi/core/output/MIDataReadMemoryInfo.java | 18 +++---- .../mi/core/output/MIEnvironmentPWDInfo.java | 2 +- .../cdt/debug/mi/core/output/MIFrame.java | 38 +++++++------- .../core/output/MIGDBShowDirectoriesInfo.java | 2 +- .../debug/mi/core/output/MIGDBShowInfo.java | 4 +- .../output/MIGDBShowSolibSearchPathInfo.java | 2 +- .../cdt/debug/mi/core/output/MIInfo.java | 6 +-- .../mi/core/output/MIInfoProgramInfo.java | 2 +- .../core/output/MIInfoSharedLibraryInfo.java | 8 +-- .../mi/core/output/MIInfoSignalsInfo.java | 4 +- .../cdt/debug/mi/core/output/MIMemory.java | 16 +++--- .../cdt/debug/mi/core/output/MIOutput.java | 2 +- .../cdt/debug/mi/core/output/MIParser.java | 4 +- .../debug/mi/core/output/MIRegisterValue.java | 8 +-- .../cdt/debug/mi/core/output/MIResult.java | 4 +- .../debug/mi/core/output/MIResultRecord.java | 12 ++--- .../cdt/debug/mi/core/output/MISigHandle.java | 4 +- .../cdt/debug/mi/core/output/MISrcAsm.java | 18 +++---- .../mi/core/output/MIStackInfoDepthInfo.java | 2 +- .../core/output/MIStackListArgumentsInfo.java | 4 +- .../mi/core/output/MIStackListFramesInfo.java | 6 +-- .../mi/core/output/MIStackListLocalsInfo.java | 2 +- .../debug/mi/core/output/MIStreamRecord.java | 10 ++-- .../mi/core/output/MITargetStreamOutput.java | 2 +- .../mi/core/output/MIThreadListIdsInfo.java | 4 +- .../mi/core/output/MIThreadSelectInfo.java | 4 +- .../cdt/debug/mi/core/output/MIVar.java | 16 +++--- .../debug/mi/core/output/MIVarCreateInfo.java | 12 ++--- .../debug/mi/core/output/MIVarDeleteInfo.java | 2 +- .../output/MIVarEvaluateExpressionInfo.java | 4 +- .../core/output/MIVarInfoExpressionInfo.java | 10 ++-- .../core/output/MIVarInfoNumChildrenInfo.java | 2 +- .../mi/core/output/MIVarInfoTypeInfo.java | 4 +- .../mi/core/output/MIVarListChildrenInfo.java | 6 +-- .../core/output/MIVarShowAttributesInfo.java | 6 +-- .../mi/core/output/MIVarShowFormatInfo.java | 2 +- .../debug/mi/core/output/MIVarUpdateInfo.java | 14 +++--- 127 files changed, 404 insertions(+), 398 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog index db9a2443644..a25c4b8e90f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog @@ -1,3 +1,9 @@ +2004-03-12 Tanya Wolff + + Marked strings as non-translatable. + + * mi/ + 2004-03-01 Alain Magloire Reog. New source browser. diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CLICommand.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CLICommand.java index 8e6d1c2817b..ff392e85a56 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CLICommand.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CLICommand.java @@ -14,7 +14,7 @@ package org.eclipse.cdt.debug.mi.core.command; public class CLICommand extends Command { - String operation = ""; + String operation = ""; //$NON-NLS-1$ public CLICommand(String oper) { operation = oper; @@ -34,9 +34,9 @@ public class CLICommand extends Command * @return the text representation of this command */ public String toString(){ - String str = getToken() + " " + operation; - if (str.endsWith("\n")) + String str = getToken() + " " + operation; //$NON-NLS-1$ + if (str.endsWith("\n")) //$NON-NLS-1$ return str; - return str + "\n"; + return str + "\n"; //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java index 3265bee8822..0d28058a693 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java @@ -28,10 +28,10 @@ public class CygwinMIEnvironmentDirectory extends MIEnvironmentDirectory { ByteArrayOutputStream output = new ByteArrayOutputStream(); launcher.execute( - new Path("cygpath"), - new String[] { "-u", paths[i] }, + new Path("cygpath"), //$NON-NLS-1$ + new String[] { "-u", paths[i] }, //$NON-NLS-1$ new String[0], - new Path(".")); + new Path(".")); //$NON-NLS-1$ if (launcher.waitAndRead(output, output) != CommandLauncher.OK) newpaths[i] = paths[i]; else diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java index 4db162c6c09..7d35cec4f26 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java @@ -21,7 +21,7 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIBreakAfter extends MICommand { public MIBreakAfter(int brknum, int count) { - super("-break-after",new String[]{Integer.toString(brknum), + super("-break-after",new String[]{Integer.toString(brknum), //$NON-NLS-1$ Integer.toString(count)}); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java index d64d9d70070..31e22d806cf 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java @@ -18,7 +18,7 @@ package org.eclipse.cdt.debug.mi.core.command; */ public class MIBreakCondition extends MICommand { public MIBreakCondition(int brknum, String expr) { - super("-break-condition", new String[] { Integer.toString(brknum), expr }); + super("-break-condition", new String[] { Integer.toString(brknum), expr }); //$NON-NLS-1$ } /** diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java index eb238efe31d..ae792bf2498 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java @@ -20,7 +20,7 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIBreakDelete extends MICommand { public MIBreakDelete (int[] array) { - super("-break-delete"); + super("-break-delete"); //$NON-NLS-1$ if (array != null && array.length > 0) { String[] brkids = new String[array.length]; for (int i = 0; i < array.length; i++) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java index 736602c4a9f..d74527a898f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java @@ -19,7 +19,7 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIBreakDisable extends MICommand { public MIBreakDisable (int[] array) { - super("-break-disable"); + super("-break-disable"); //$NON-NLS-1$ if (array != null && array.length > 0) { String[] brkids = new String[array.length]; for (int i = 0; i < array.length; i++) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java index 46e4e3a4509..6148fadbed9 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java @@ -18,7 +18,7 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIBreakEnable extends MICommand { public MIBreakEnable (int[] array) { - super("-break-enable"); + super("-break-enable"); //$NON-NLS-1$ if (array != null && array.length > 0) { String[] brkids = new String[array.length]; for (int i = 0; i < array.length; i++) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java index ba520a05350..9d2e9186861 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java @@ -61,7 +61,7 @@ public class MIBreakInsert extends MICommand public MIBreakInsert(boolean isTemporary, boolean isHardware, String condition, int ignoreCount, String line) { - super("-break-insert"); + super("-break-insert"); //$NON-NLS-1$ int i = 0; if (isTemporary || isHardware) { @@ -78,20 +78,20 @@ public class MIBreakInsert extends MICommand i = 0; if (isTemporary) { - opts[i] = "-t"; + opts[i] = "-t"; //$NON-NLS-1$ i++; } else if (isHardware) { - opts[i] = "-h"; + opts[i] = "-h"; //$NON-NLS-1$ i++; } if (condition != null && condition.length() > 0) { - opts[i] = "-c"; + opts[i] = "-c"; //$NON-NLS-1$ i++; opts[i] = condition; i++; } if (ignoreCount > 0) { - opts[i] = "-i"; + opts[i] = "-i"; //$NON-NLS-1$ i++; opts[i] = Integer.toString(ignoreCount); i++; diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java index 64b5bc5ddcc..5bbc1f37991 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java @@ -47,7 +47,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIBreakList extends MICommand { public MIBreakList () { - super("-break-list"); + super("-break-list"); //$NON-NLS-1$ } public MIBreakListInfo getMIBreakListInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java index 443d376a4a6..678549ec7d3 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java @@ -27,12 +27,12 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIBreakWatch extends MICommand { public MIBreakWatch (boolean access, boolean read, String expr) { - super("-break-watch"); + super("-break-watch");//$NON-NLS-1$ String[] opts = null; if (access) { - opts = new String[] {"-a"}; + opts = new String[] {"-a"}; //$NON-NLS-1$ } else if (read) { - opts = new String[] {"-r"}; + opts = new String[] {"-r"}; //$NON-NLS-1$ } if (opts != null) { setOptions(opts); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MICommand.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MICommand.java index 5742a3e7944..36fa9a994eb 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MICommand.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MICommand.java @@ -14,7 +14,7 @@ public class MICommand extends Command { final String[] empty = new String[0]; String[] options = empty; String[] parameters = empty; - String operation = ""; + String operation = ""; //$NON-NLS-1$ public MICommand(String oper) { this.operation = oper; @@ -95,7 +95,7 @@ public class MICommand extends Command { // Add a "--" separator if any parameters start with "-" if (options != null && options.length > 0) { for (int i = 0; i < parameters.length; i++) { - if (parameters[i].startsWith("-")) { + if (parameters[i].startsWith("-")) { //$NON-NLS-1$ buffer.append('-').append('-'); break; } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java index b500f5562b0..99235e98939 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java @@ -67,22 +67,22 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIDataDisassemble extends MICommand { public MIDataDisassemble(String start, String end, boolean mode) { - super("-data-disassemble"); - setOptions(new String[]{"-s", start, "-e", end}); - String mixed = "0"; + super("-data-disassemble"); //$NON-NLS-1$ + setOptions(new String[]{"-s", start, "-e", end}); //$NON-NLS-1$ //$NON-NLS-2$ + String mixed = "0"; //$NON-NLS-1$ if (mode) { - mixed = "1"; + mixed = "1"; //$NON-NLS-1$ } setParameters(new String[]{mixed}); } public MIDataDisassemble(String file, int linenum, int lines, boolean mode) { - super("-data-disassemble"); - setOptions(new String[]{"-f", file, "-l", - Integer.toString(linenum), "-n", Integer.toString(lines)}); - String mixed = "0"; + super("-data-disassemble"); //$NON-NLS-1$ + setOptions(new String[]{"-f", file, "-l", //$NON-NLS-1$ //$NON-NLS-2$ + Integer.toString(linenum), "-n", Integer.toString(lines)}); //$NON-NLS-1$ + String mixed = "0"; //$NON-NLS-1$ if (mode) { - mixed = "1"; + mixed = "1"; //$NON-NLS-1$ } setParameters(new String[]{mixed}); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java index 29cf08d5f33..8bc16866b56 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java @@ -23,7 +23,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIDataEvaluateExpression extends MICommand { public MIDataEvaluateExpression(String expr) { - super("-data-evaluate-expression", new String[]{expr}); + super("-data-evaluate-expression", new String[]{expr}); //$NON-NLS-1$ } public MIDataEvaluateExpressionInfo getMIDataEvaluateExpressionInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java index 2c8a2b16077..ac602387312 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java @@ -21,7 +21,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIDataListChangedRegisters extends MICommand { public MIDataListChangedRegisters() { - super("-data-list-changed-registers" ); + super("-data-list-changed-registers" ); //$NON-NLS-1$ } public MIDataListChangedRegistersInfo getMIDataListChangedRegistersInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java index f4e0b766463..01d99e7eb3e 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java @@ -26,7 +26,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIDataListRegisterNames extends MICommand { public MIDataListRegisterNames() { - super("-data-list-register-names"); + super("-data-list-register-names"); //$NON-NLS-1$ } public MIDataListRegisterNames(int [] regnos) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java index 81f63868140..53a22cf5e9e 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java @@ -30,33 +30,33 @@ public class MIDataListRegisterValues extends MICommand } public MIDataListRegisterValues(int fmt, int [] regnos) { - super("-data-list-register-values"); + super("-data-list-register-values"); //$NON-NLS-1$ - String format = "x"; + String format = "x"; //$NON-NLS-1$ switch (fmt) { case MIFormat.NATURAL: - format = "N"; + format = "N"; //$NON-NLS-1$ break; case MIFormat.RAW: - format = "r"; + format = "r"; //$NON-NLS-1$ break; case MIFormat.DECIMAL: - format = "d"; + format = "d"; //$NON-NLS-1$ break; case MIFormat.BINARY: - format = "t"; + format = "t"; //$NON-NLS-1$ break; case MIFormat.OCTAL: - format = "o"; + format = "o"; //$NON-NLS-1$ break; case MIFormat.HEXADECIMAL: default: - format = "x"; + format = "x"; //$NON-NLS-1$ break; } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java index 2dc792efcf5..7de46291afc 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java @@ -60,52 +60,52 @@ public class MIDataReadMemory extends MICommand { int rows, int cols, Character asChar) { - super("-data-read-memory"); + super("-data-read-memory"); //$NON-NLS-1$ if (offset != 0) { - setOptions(new String[] { "-o", Long.toString(offset)}); + setOptions(new String[] { "-o", Long.toString(offset)}); //$NON-NLS-1$ } - String format = "x"; + String format = "x"; //$NON-NLS-1$ switch (wordFormat) { case MIFormat.UNSIGNED : - format = "u"; + format = "u"; //$NON-NLS-1$ break; case MIFormat.FLOAT : - format = "f"; + format = "f"; //$NON-NLS-1$ break; case MIFormat.ADDRESS : - format = "a"; + format = "a"; //$NON-NLS-1$ break; case MIFormat.INSTRUCTION : - format = "i"; + format = "i"; //$NON-NLS-1$ break; case MIFormat.CHAR : - format = "c"; + format = "c"; //$NON-NLS-1$ break; case MIFormat.STRING : - format = "s"; + format = "s"; //$NON-NLS-1$ break; case MIFormat.DECIMAL : - format = "d"; + format = "d"; //$NON-NLS-1$ break; case MIFormat.BINARY : - format = "t"; + format = "t"; //$NON-NLS-1$ break; case MIFormat.OCTAL : - format = "o"; + format = "o"; //$NON-NLS-1$ break; case MIFormat.HEXADECIMAL : default : - format = "x"; + format = "x"; //$NON-NLS-1$ break; } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java index 316af46e1b8..38b72a34811 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java @@ -37,53 +37,53 @@ public class MIDataWriteMemory extends MICommand { public MIDataWriteMemory(long offset, String address, int wordFormat, int wordSize, String value) { - super ("-data-write-memory"); + super ("-data-write-memory"); //$NON-NLS-1$ if (offset != 0) { - setOptions(new String[] { "-o", Long.toString(offset)}); + setOptions(new String[] { "-o", Long.toString(offset)}); //$NON-NLS-1$ } - String format = "x"; + String format = "x"; //$NON-NLS-1$ switch (wordFormat) { case MIFormat.UNSIGNED : - format = "u"; + format = "u"; //$NON-NLS-1$ break; case MIFormat.FLOAT : - format = "f"; + format = "f"; //$NON-NLS-1$ break; case MIFormat.ADDRESS : - format = "a"; + format = "a"; //$NON-NLS-1$ break; case MIFormat.INSTRUCTION : - format = "i"; + format = "i"; //$NON-NLS-1$ break; case MIFormat.CHAR : - format = "c"; + format = "c"; //$NON-NLS-1$ break; case MIFormat.STRING : - format = "s"; + format = "s"; //$NON-NLS-1$ break; case MIFormat.DECIMAL : - format = "d"; + format = "d"; //$NON-NLS-1$ break; case MIFormat.BINARY : - format = "t"; + format = "t"; //$NON-NLS-1$ break; case MIFormat.OCTAL : - format = "o"; + format = "o"; //$NON-NLS-1$ break; case MIFormat.HEXADECIMAL : default : - format = "x"; + format = "x"; //$NON-NLS-1$ break; } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java index 9d6992b81be..ed61d566d39 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java @@ -21,33 +21,33 @@ import org.eclipse.cdt.debug.mi.core.MIFormat; public class MIDataWriteRegisterValues extends MICommand { public MIDataWriteRegisterValues(int fmt, int[] regnos, String[] values) { - super("-data-write-register-values"); + super("-data-write-register-values"); //$NON-NLS-1$ - String format = "x"; + String format = "x"; //$NON-NLS-1$ switch (fmt) { case MIFormat.NATURAL: - format = "N"; + format = "N"; //$NON-NLS-1$ break; case MIFormat.RAW: - format = "r"; + format = "r"; //$NON-NLS-1$ break; case MIFormat.DECIMAL: - format = "d"; + format = "d"; //$NON-NLS-1$ break; case MIFormat.BINARY: - format = "t"; + format = "t"; //$NON-NLS-1$ break; case MIFormat.OCTAL: - format = "o"; + format = "o"; //$NON-NLS-1$ break; case MIFormat.HEXADECIMAL: default: - format = "x"; + format = "x"; //$NON-NLS-1$ break; } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java index 251f47f25a9..9cd7b2bc5d4 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java @@ -18,6 +18,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIEnvironmentCD extends MICommand { public MIEnvironmentCD(String path) { - super("-environment-cd", new String[]{path}); + super("-environment-cd", new String[]{path}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java index 91ab759e624..13da67fc825 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java @@ -21,7 +21,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIEnvironmentPWD extends MICommand { public MIEnvironmentPWD() { - super("-environment-pwd"); + super("-environment-pwd"); //$NON-NLS-1$ } public MIInfo getMIInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java index 7f4dd1f4fac..924f02190d3 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java @@ -16,6 +16,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIEnvironmentPath extends MICommand { public MIEnvironmentPath(String[] paths) { - super("-environment-path", paths); + super("-environment-path", paths); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java index 58a24d28075..ac3ea4dd3a7 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java @@ -18,6 +18,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecAbort extends CLICommand { public MIExecAbort() { - super("kill"); + super("kill"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java index a9a9b5a7325..c297647e674 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java @@ -17,6 +17,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecContinue extends MICommand { public MIExecContinue() { - super("-exec-continue"); + super("-exec-continue"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java index 9d71a839ced..f9910a1d23f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java @@ -18,6 +18,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecFinish extends MICommand { public MIExecFinish() { - super("-exec-finish"); + super("-exec-finish"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java index 11ad0144408..13453f46cee 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java @@ -21,6 +21,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecInterrupt extends MICommand { public MIExecInterrupt() { - super("-exec-interrupt"); + super("-exec-interrupt"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java index ec8c4878298..ef280150bba 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java @@ -17,6 +17,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecNext extends MICommand { public MIExecNext() { - super("-exec-next"); + super("-exec-next"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java index a93d3e5edab..6fcb132cf94 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java @@ -19,6 +19,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecNextInstruction extends MICommand { public MIExecNextInstruction() { - super("-exec-next-instruction"); + super("-exec-next-instruction"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java index 3c8a00eadcc..51babe5fc2d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java @@ -19,6 +19,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecReturn extends MICommand { public MIExecReturn() { - super("-exec-return"); + super("-exec-return"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java index f47d1b654c6..41feae97c00 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java @@ -18,10 +18,10 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecRun extends MICommand { public MIExecRun() { - super("-exec-run"); + super("-exec-run"); //$NON-NLS-1$ } public MIExecRun(String[] args) { - super("-exec-run", args); + super("-exec-run", args); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java index 4bf36936951..4598548f913 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java @@ -19,6 +19,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecStep extends MICommand { public MIExecStep() { - super("-exec-step"); + super("-exec-step"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java index b784cb639a9..a8eb32f52d6 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java @@ -22,6 +22,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecStepInstruction extends MICommand { public MIExecStepInstruction() { - super("-exec-step-instruction"); + super("-exec-step-instruction"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java index bdf98e68a1a..876eb74b292 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java @@ -20,10 +20,10 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIExecUntil extends MICommand { public MIExecUntil() { - super("-exec-until"); + super("-exec-until"); //$NON-NLS-1$ } public MIExecUntil(String loc) { - super("-exec-until", new String[]{loc}); + super("-exec-until", new String[]{loc}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java index 1abda350dd9..7314b997499 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java @@ -20,6 +20,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIFileExecFile extends MICommand { public MIFileExecFile(String file) { - super("-file-exec-file", new String[]{file}); + super("-file-exec-file", new String[]{file}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java index 284b37f90d3..b804d571b17 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java @@ -18,6 +18,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIFileSymbolFile extends MICommand { public MIFileSymbolFile(String file) { - super("-file-symbol-file", new String[]{file}); + super("-file-symbol-file", new String[]{file}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java index 88cb763f86d..9a7035cc87a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java @@ -16,6 +16,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIGDBExit extends MICommand { public MIGDBExit() { - super("-gdb-exit"); + super("-gdb-exit"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java index 4ed52be2af2..c1a40bdbc1f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java @@ -16,6 +16,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIGDBSet extends MICommand { public MIGDBSet(String[] params) { - super("-gdb-set", params); + super("-gdb-set", params); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java index f91d3274bd8..3176c2d9b62 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java @@ -15,6 +15,6 @@ package org.eclipse.cdt.debug.mi.core.command; */ public class MIGDBSetAutoSolib extends MIGDBSet { public MIGDBSetAutoSolib(boolean isSet) { - super(new String[] {"auto-solib-add", (isSet) ? "on" : "off"}); + super(new String[] {"auto-solib-add", (isSet) ? "on" : "off"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java index 8a8625d8d76..40edd9289b6 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java @@ -17,7 +17,7 @@ public class MIGDBSetSolibSearchPath extends MIGDBSet { public MIGDBSetSolibSearchPath(String[] paths) { super(paths); // Overload the parameter - String sep = System.getProperty("path.separator", ":"); + String sep = System.getProperty("path.separator", ":"); //$NON-NLS-1$ //$NON-NLS-2$ StringBuffer buffer = new StringBuffer(); for (int i = 0; i < paths.length; i++) { if (buffer.length() == 0) { @@ -26,7 +26,7 @@ public class MIGDBSetSolibSearchPath extends MIGDBSet { buffer.append(sep).append(paths[i]); } } - String[] p = new String [] {"solib-search-path", buffer.toString()}; + String[] p = new String [] {"solib-search-path", buffer.toString()}; //$NON-NLS-1$ setParameters(p); } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetStopOnSolibEvents.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetStopOnSolibEvents.java index 976508e2c97..ce0f96f8744 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetStopOnSolibEvents.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBSetStopOnSolibEvents.java @@ -15,6 +15,6 @@ package org.eclipse.cdt.debug.mi.core.command; */ public class MIGDBSetStopOnSolibEvents extends MIGDBSet { public MIGDBSetStopOnSolibEvents(boolean isSet) { - super(new String[] {"stop-on-solib-events", (isSet) ? "1" : "0"}); + super(new String[] {"stop-on-solib-events", (isSet) ? "1" : "0"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java index 7c0abb75b16..288fdb3cca7 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java @@ -20,7 +20,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; */ public class MIGDBShow extends MICommand { public MIGDBShow(String[] params) { - super("-gdb-show", params); + super("-gdb-show", params); //$NON-NLS-1$ } public MIGDBShowInfo getMIGDBShowInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java index 40db3e3caf1..d1386f1a38e 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java @@ -22,7 +22,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIOutput; public class MIGDBShowExitCode extends MIDataEvaluateExpression { public MIGDBShowExitCode() { - super("$_exitcode"); + super("$_exitcode"); //$NON-NLS-1$ } public MIGDBShowExitCodeInfo getMIGDBShowExitCodeInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIPType.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIPType.java index 1dfe92851af..d9d4ff23a16 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIPType.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIPType.java @@ -19,7 +19,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIPTypeInfo; public class MIPType extends CLICommand { public MIPType(String var) { - super("ptype " + var); + super("ptype " + var); //$NON-NLS-1$ } public MIPTypeInfo getMIPtypeInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java index 7a89e1f6f78..8adf76eeb7b 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java @@ -16,10 +16,10 @@ package org.eclipse.cdt.debug.mi.core.command; public class MISharedLibrary extends CLICommand { public MISharedLibrary() { - super("sharedlibrary"); + super("sharedlibrary"); //$NON-NLS-1$ } public MISharedLibrary(String name) { - super("sharedlibrary " + name); + super("sharedlibrary " + name); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java index 1cdb8f4a082..528365206b1 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java @@ -22,11 +22,11 @@ import org.eclipse.cdt.debug.mi.core.output.MIStackInfoDepthInfo; public class MIStackInfoDepth extends MICommand { public MIStackInfoDepth() { - super("-stack-info-depth"); + super("-stack-info-depth"); //$NON-NLS-1$ } public MIStackInfoDepth(int maxDepth) { - super("-stack-info-depth", new String[]{Integer.toString(maxDepth)}); + super("-stack-info-depth", new String[]{Integer.toString(maxDepth)}); //$NON-NLS-1$ } public MIStackInfoDepthInfo getMIStackInfoDepthInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java index 9b65ef30f94..34542c6d9b3 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java @@ -28,21 +28,21 @@ import org.eclipse.cdt.debug.mi.core.output.MIStackListArgumentsInfo; public class MIStackListArguments extends MICommand { public MIStackListArguments(boolean showValues) { - super("-stack-list-arguments"); + super("-stack-list-arguments"); //$NON-NLS-1$ if (showValues) { - setParameters(new String[]{"1"}); + setParameters(new String[]{"1"}); //$NON-NLS-1$ } else { - setParameters(new String[]{"0"}); + setParameters(new String[]{"0"}); //$NON-NLS-1$ } } public MIStackListArguments(boolean showValues, int low, int high) { - super("-stack-list-arguments"); + super("-stack-list-arguments"); //$NON-NLS-1$ String[] params = new String[3]; if (showValues) { - params[0] = "1"; + params[0] = "1"; //$NON-NLS-1$ } else { - params[0] = "0"; + params[0] = "0"; //$NON-NLS-1$ } params[1] = Integer.toString(low); params[2] = Integer.toString(high); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java index aa93c8c05b9..b8e21a6ef98 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java @@ -43,11 +43,11 @@ import org.eclipse.cdt.debug.mi.core.output.MIStackListFramesInfo; public class MIStackListFrames extends MICommand { public MIStackListFrames() { - super("-stack-list-frames"); + super("-stack-list-frames"); //$NON-NLS-1$ } public MIStackListFrames(int low, int high) { - super("-stack-list-frames", new String[]{Integer.toString(low), + super("-stack-list-frames", new String[]{Integer.toString(low), //$NON-NLS-1$ Integer.toString(high)}); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java index d282cfd042f..f0b6d5bff92 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java @@ -23,11 +23,11 @@ import org.eclipse.cdt.debug.mi.core.output.MIStackListLocalsInfo; public class MIStackListLocals extends MICommand { public MIStackListLocals(boolean printValues) { - super("-stack-list-locals"); + super("-stack-list-locals"); //$NON-NLS-1$ if (printValues) { - setParameters(new String[]{"1"}); + setParameters(new String[]{"1"}); //$NON-NLS-1$ } else { - setParameters(new String[]{"0"}); + setParameters(new String[]{"0"}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java index 3992330178c..cb30c2ef15d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java @@ -19,6 +19,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIStackSelectFrame extends MICommand { public MIStackSelectFrame(int frameNum) { - super("-stack-select-frame", new String[]{Integer.toString(frameNum)}); + super("-stack-select-frame", new String[]{Integer.toString(frameNum)}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java index 00d458e2969..3750d20c26a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java @@ -17,6 +17,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MITargetAttach extends CLICommand { public MITargetAttach(int pid) { - super("attach " + Integer.toString(pid)); + super("attach " + Integer.toString(pid)); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java index bcbac34dc2b..339df71e5c7 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java @@ -17,6 +17,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MITargetDetach extends MICommand { public MITargetDetach() { - super("-target-detach"); + super("-target-detach"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java index 5cc0142c2e3..f1878c6f254 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java @@ -31,6 +31,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MITargetDownload extends MICommand { public MITargetDownload() { - super("-target-download"); + super("-target-download"); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java index ed4cd77cfc6..2bb3cf5847f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java @@ -22,7 +22,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIThreadListIdsInfo; public class MIThreadListIds extends MICommand { public MIThreadListIds() { - super("-thread-list-ids"); + super("-thread-list-ids"); //$NON-NLS-1$ } public MIThreadListIdsInfo getMIThreadListIdsInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java index 0de7ac636de..577b3b17156 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java @@ -22,7 +22,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIThreadSelectInfo; public class MIThreadSelect extends MICommand { public MIThreadSelect(int threadNum) { - super("-thread-select", new String[]{Integer.toString(threadNum)}); + super("-thread-select", new String[]{Integer.toString(threadNum)}); //$NON-NLS-1$ } public MIThreadSelectInfo getMIThreadSelectInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java index cf7b071720f..522c3bf1605 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java @@ -17,6 +17,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIVarAssign extends MICommand { public MIVarAssign(String name, String expression) { - super("-var-assign", new String[]{name, expression}); + super("-var-assign", new String[]{name, expression}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java index 47fe53e89d0..e6f32fadb72 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java @@ -43,15 +43,15 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarCreateInfo; public class MIVarCreate extends MICommand { public MIVarCreate(String expression) { - this("-", "*", expression); + this("-", "*", expression); //$NON-NLS-1$ //$NON-NLS-2$ } public MIVarCreate(String name, String expression) { - this(name, "*", expression); + this(name, "*", expression); //$NON-NLS-1$ } public MIVarCreate(String name, String frameAddr, String expression) { - super("-var-create", new String[]{name, frameAddr, expression}); + super("-var-create", new String[]{name, frameAddr, expression}); //$NON-NLS-1$ } public MIVarCreateInfo getMIVarCreateInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java index ec90e3f3a95..d147cd5fb7d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java @@ -24,7 +24,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarEvaluateExpressionInfo; */ public class MIVarEvaluateExpression extends MICommand { public MIVarEvaluateExpression(String expression) { - super("-var-evaluate-expression", new String[] { expression }); + super("-var-evaluate-expression", new String[] { expression }); //$NON-NLS-1$ } public MIVarEvaluateExpressionInfo getMIVarEvaluateExpressionInfo() diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java index 98f01703178..289dd28c66f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java @@ -25,7 +25,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarInfoExpressionInfo; public class MIVarInfoExpression extends MICommand { public MIVarInfoExpression(String name) { - super("-var-info-expression", new String[]{name}); + super("-var-info-expression", new String[]{name}); //$NON-NLS-1$ } public MIVarInfoExpressionInfo getMIVarInfoExpressionInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java index 6963d54246c..917acd4ae3c 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java @@ -23,7 +23,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarInfoNumChildrenInfo; public class MIVarInfoNumChildren extends MICommand { public MIVarInfoNumChildren(String name) { - super("-var-info-num-children", new String[]{name}); + super("-var-info-num-children", new String[]{name}); //$NON-NLS-1$ } public MIVarInfoNumChildrenInfo getMIVarInfoNumChildrenInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java index 166bc36e865..ad224219dd7 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java @@ -19,6 +19,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIVarInfoType extends MICommand { public MIVarInfoType(String name) { - super("-var-info-type", new String[]{name}); + super("-var-info-type", new String[]{name}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java index 9f13dd26229..82c4c52511d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java @@ -24,7 +24,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarListChildrenInfo; public class MIVarListChildren extends MICommand { public MIVarListChildren(String name) { - super("-var-list-children", new String[]{name}); + super("-var-list-children", new String[]{name}); //$NON-NLS-1$ } public MIVarListChildrenInfo getMIVarListChildrenInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java index 6d8c477236b..0dfda84fc1b 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java @@ -24,7 +24,7 @@ import org.eclipse.cdt.debug.mi.core.MIFormat; public class MIVarSetFormat extends MICommand { public MIVarSetFormat(String name, int fmt) { - super("-var-set-format"); + super("-var-set-format"); //$NON-NLS-1$ String format = "hexadecimal"; switch (fmt) { case MIFormat.NATURAL: diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java index eed087e057c..296765e534d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java @@ -25,7 +25,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarShowAttributesInfo; public class MIVarShowAttributes extends MICommand { public MIVarShowAttributes(String name) { - super("-var-show-attributes", new String[]{name}); + super("-var-show-attributes", new String[]{name}); //$NON-NLS-1$ } public MIVarShowAttributesInfo getMIVarShowAttributesInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java index 72d6a14c089..a756f5da06f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java @@ -19,6 +19,6 @@ package org.eclipse.cdt.debug.mi.core.command; public class MIVarShowFormat extends MICommand { public MIVarShowFormat(String name) { - super("-var-show-format", new String[]{name}); + super("-var-show-format", new String[]{name}); //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java index 0978c1bdfea..48daf152ead 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java @@ -23,7 +23,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarUpdateInfo; public class MIVarUpdate extends MICommand { public MIVarUpdate() { - this("*"); + this("*"); //$NON-NLS-1$ } public MIVarUpdate(String name) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java index 6a1e55c9fd5..40f82f34434 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java @@ -19,7 +19,7 @@ import org.eclipse.cdt.debug.mi.core.output.MIWhatisInfo; public class MIWhatis extends CLICommand { public MIWhatis(String var) { - super("whatis " + var); + super("whatis " + var); //$NON-NLS-1$ } public MIWhatisInfo getMIWhatisInfo() throws MIException { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIBreakpointHitEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIBreakpointHitEvent.java index 656a9b7ad6e..5459cdf5452 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIBreakpointHitEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIBreakpointHitEvent.java @@ -61,23 +61,23 @@ public class MIBreakpointHitEvent extends MIStoppedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("bkptno")) { + if (var.equals("bkptno")) { //$NON-NLS-1$ try { bkptno = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("thread-id")) { + } else if (var.equals("thread-id")) { //$NON-NLS-1$ try { int id = Integer.parseInt(str.trim()); setThreadId(id); } catch (NumberFormatException e) { } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { frame = new MIFrame((MITuple)value); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIErrorEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIErrorEvent.java index d4ddf07b6a2..42308c06f5a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIErrorEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIErrorEvent.java @@ -23,8 +23,8 @@ import org.eclipse.cdt.debug.mi.core.output.MIValue; */ public class MIErrorEvent extends MIStoppedEvent { - String msg = ""; - String log = ""; + String msg = ""; //$NON-NLS-1$ + String log = ""; //$NON-NLS-1$ MIOOBRecord[] oobs; public MIErrorEvent(MIResultRecord rr, MIOOBRecord[] o) { @@ -49,12 +49,12 @@ public class MIErrorEvent extends MIStoppedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("msg")) { + if (var.equals("msg")) { //$NON-NLS-1$ msg = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIFunctionFinishedEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIFunctionFinishedEvent.java index a30599704b5..637dad4b415 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIFunctionFinishedEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIFunctionFinishedEvent.java @@ -18,8 +18,8 @@ import org.eclipse.cdt.debug.mi.core.output.MIValue; */ public class MIFunctionFinishedEvent extends MIStoppedEvent { - String gdbResult = ""; - String returnValue = ""; + String gdbResult = ""; //$NON-NLS-1$ + String returnValue = ""; //$NON-NLS-1$ public MIFunctionFinishedEvent(MIExecAsyncOutput async) { super(async); @@ -41,8 +41,8 @@ public class MIFunctionFinishedEvent extends MIStoppedEvent { public String toString() { StringBuffer buffer = new StringBuffer(); - buffer.append("gdb-result-var=" + gdbResult + "\n"); - buffer.append("return-value=" + returnValue + "\n"); + buffer.append("gdb-result-var=" + gdbResult + "\n"); //$NON-NLS-2$ + buffer.append("return-value=" + returnValue + "\n"); //$NON-NLS-2$ buffer.append("thread-id=").append(getThreadId()).append('\n'); MIFrame f = getFrame(); if (f != null) { @@ -65,22 +65,22 @@ public class MIFunctionFinishedEvent extends MIStoppedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("gdb-result-var")) { + if (var.equals("gdb-result-var")) { //$NON-NLS-1$ gdbResult = str; - } else if (var.equals("return-value")) { + } else if (var.equals("return-value")) { //$NON-NLS-1$ returnValue = str; - } else if (var.equals("thread-id")) { + } else if (var.equals("thread-id")) { //$NON-NLS-1$ try { int id = Integer.parseInt(str.trim()); setThreadId(id); } catch (NumberFormatException e) { } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { MIFrame f = new MIFrame((MITuple)value); setFrame(f); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorExitEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorExitEvent.java index f18a0c5fa66..7d5e368e726 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorExitEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorExitEvent.java @@ -58,12 +58,12 @@ public class MIInferiorExitEvent extends MIDestroyedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("exit-code")) { + if (var.equals("exit-code")) { //$NON-NLS-1$ try { code = Integer.decode(str.trim()).intValue(); } catch (NumberFormatException e) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorSignalExitEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorSignalExitEvent.java index c2fd9bf2c28..08a143641e8 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorSignalExitEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIInferiorSignalExitEvent.java @@ -19,8 +19,8 @@ import org.eclipse.cdt.debug.mi.core.output.MIValue; */ public class MIInferiorSignalExitEvent extends MIDestroyedEvent { - String sigName = ""; - String sigMeaning = ""; + String sigName = ""; //$NON-NLS-1$ + String sigMeaning = ""; //$NON-NLS-1$ MIExecAsyncOutput exec = null; MIResultRecord rr = null; @@ -47,8 +47,8 @@ public class MIInferiorSignalExitEvent extends MIDestroyedEvent { public String toString() { StringBuffer buffer = new StringBuffer(); - buffer.append("signal-name=" + sigName + "\n"); - buffer.append("signal-meaning=" + sigMeaning + "\n"); + buffer.append("signal-name=" + sigName + "\n"); //$NON-NLS-2$ + buffer.append("signal-meaning=" + sigMeaning + "\n"); //$NON-NLS-2$ return buffer.toString(); } @@ -63,14 +63,14 @@ public class MIInferiorSignalExitEvent extends MIDestroyedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("signal-name")) { + if (var.equals("signal-name")) { //$NON-NLS-1$ sigName = str; - } else if (var.equals("signal-meaning")) { + } else if (var.equals("signal-meaning")) { //$NON-NLS-1$ sigMeaning = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MILocationReachedEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MILocationReachedEvent.java index 0973018eee6..6e17e59a1d8 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MILocationReachedEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MILocationReachedEvent.java @@ -52,18 +52,18 @@ public class MILocationReachedEvent extends MIStoppedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("thread-id")) { + if (var.equals("thread-id")) { //$NON-NLS-1$ try { int id = Integer.parseInt(str.trim()); setThreadId(id); } catch (NumberFormatException e) { } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { MIFrame f = new MIFrame((MITuple)value); setFrame(f); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISignalEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISignalEvent.java index fbc653b1bfd..2732697f768 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISignalEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISignalEvent.java @@ -19,8 +19,8 @@ import org.eclipse.cdt.debug.mi.core.output.MIValue; */ public class MISignalEvent extends MIStoppedEvent { - String sigName = ""; - String sigMeaning = ""; + String sigName = ""; //$NON-NLS-1$ + String sigMeaning = ""; //$NON-NLS-1$ public MISignalEvent(MIExecAsyncOutput async) { super(async); @@ -66,22 +66,22 @@ public class MISignalEvent extends MIStoppedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("signal-name")) { + if (var.equals("signal-name")) { //$NON-NLS-1$ sigName = str; - } else if (var.equals("signal-meaning")) { + } else if (var.equals("signal-meaning")) { //$NON-NLS-1$ sigMeaning = str; - } else if (var.equals("thread-id")) { + } else if (var.equals("thread-id")) { //$NON-NLS-1$ try { int id = Integer.parseInt(str.trim()); setThreadId(id); } catch (NumberFormatException e) { } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { MIFrame f = new MIFrame((MITuple)value); setFrame(f); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISteppingRangeEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISteppingRangeEvent.java index 3579c04f67c..c0d7dcd0bba 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISteppingRangeEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISteppingRangeEvent.java @@ -53,7 +53,7 @@ public class MISteppingRangeEvent extends MIStoppedEvent { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - if (var.equals("thread-id")) { + if (var.equals("thread-id")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst)value).getString(); try { @@ -62,7 +62,7 @@ public class MISteppingRangeEvent extends MIStoppedEvent { } catch (NumberFormatException e) { } } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { MIFrame f = new MIFrame((MITuple)value); setFrame(f); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIStoppedEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIStoppedEvent.java index 69b0bc333dd..dbdce61ec12 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIStoppedEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIStoppedEvent.java @@ -74,7 +74,7 @@ public class MIStoppedEvent extends MIEvent { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - if (var.equals("thread-id")) { + if (var.equals("thread-id")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst)value).getString(); try { @@ -82,7 +82,7 @@ public class MIStoppedEvent extends MIEvent { } catch (NumberFormatException e) { } } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { frame = new MIFrame((MITuple)value); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointScopeEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointScopeEvent.java index 696e7f7b290..e3800b348c4 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointScopeEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointScopeEvent.java @@ -50,7 +50,7 @@ public class MIWatchpointScopeEvent extends MIStoppedEvent { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - if (var.equals("wpnum")) { + if (var.equals("wpnum")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst) value).getString(); try { @@ -58,7 +58,7 @@ public class MIWatchpointScopeEvent extends MIStoppedEvent { } catch (NumberFormatException e) { } } - } else if (var.equals("thread-id")) { + } else if (var.equals("thread-id")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst) value).getString(); try { @@ -67,7 +67,7 @@ public class MIWatchpointScopeEvent extends MIStoppedEvent { } catch (NumberFormatException e) { } } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { MIFrame f = new MIFrame((MITuple) value); setFrame(f); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointTriggerEvent.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointTriggerEvent.java index 70494e47d7f..9495f1c826b 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointTriggerEvent.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MIWatchpointTriggerEvent.java @@ -20,9 +20,9 @@ import org.eclipse.cdt.debug.mi.core.output.MIValue; public class MIWatchpointTriggerEvent extends MIStoppedEvent { int number; - String exp = ""; - String oldValue = ""; - String newValue = ""; + String exp = ""; //$NON-NLS-1$ + String oldValue = ""; //$NON-NLS-1$ + String newValue = ""; //$NON-NLS-1$ public MIWatchpointTriggerEvent(MIExecAsyncOutput async) { super(async); @@ -54,9 +54,9 @@ public class MIWatchpointTriggerEvent extends MIStoppedEvent { public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append("number=").append(number).append('\n'); - buffer.append("expression=" + exp + "\n"); - buffer.append("old=" + oldValue + "\n"); - buffer.append("new=" + newValue + "\n"); + buffer.append("expression=" + exp + "\n"); //$NON-NLS-2$ + buffer.append("old=" + oldValue + "\n"); //$NON-NLS-2$ + buffer.append("new=" + newValue + "\n"); //$NON-NLS-2$ buffer.append("thread-id=").append(getThreadId()).append('\n'); MIFrame f = getFrame(); if (f != null) { @@ -79,15 +79,15 @@ public class MIWatchpointTriggerEvent extends MIStoppedEvent { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - if (var.equals("wpt") || var.equals("hw-awpt") || var.equals("hw-rwpt")) { + if (var.equals("wpt") || var.equals("hw-awpt") || var.equals("hw-rwpt")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ if (value instanceof MITuple) { parseWPT((MITuple) value); } - } else if (var.equals("value")) { + } else if (var.equals("value")) { //$NON-NLS-1$ if (value instanceof MITuple) { parseValue((MITuple) value); } - } else if (var.equals("thread-id")) { + } else if (var.equals("thread-id")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst) value).getString(); try { @@ -96,7 +96,7 @@ public class MIWatchpointTriggerEvent extends MIStoppedEvent { } catch (NumberFormatException e) { } } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ if (value instanceof MITuple) { MIFrame f = new MIFrame((MITuple) value); setFrame(f); @@ -112,7 +112,7 @@ public class MIWatchpointTriggerEvent extends MIStoppedEvent { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - if (var.equals("number")) { + if (var.equals("number")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst) value).getString(); try { @@ -120,7 +120,7 @@ public class MIWatchpointTriggerEvent extends MIStoppedEvent { } catch (NumberFormatException e) { } } - } else if (var.equals("exp")) { + } else if (var.equals("exp")) { //$NON-NLS-1$ if (value instanceof MIConst) { exp = ((MIConst) value).getString(); } @@ -133,16 +133,16 @@ public class MIWatchpointTriggerEvent extends MIStoppedEvent { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst) value).getString(); } - if (var.equals("old")) { + if (var.equals("old")) { //$NON-NLS-1$ oldValue = str; - } else if (var.equals("new")) { + } else if (var.equals("new")) { //$NON-NLS-1$ newValue = str; - } else if (var.equals("value")) { + } else if (var.equals("value")) { //$NON-NLS-1$ oldValue = newValue = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIArg.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIArg.java index 8a525f68419..c73e8fb53ba 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIArg.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIArg.java @@ -51,7 +51,7 @@ public class MIArg { MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String str = ((MIConst)value).getCString(); - aList.add(new MIArg(str, "")); + aList.add(new MIArg(str, "")); //$NON-NLS-1$ } } return ((MIArg[])aList.toArray(new MIArg[aList.size()])); @@ -66,21 +66,21 @@ public class MIArg { MIArg arg = null; if (args.length == 2) { // Name - String aName = ""; + String aName = ""; //$NON-NLS-1$ MIValue value = args[0].getMIValue(); if (value != null && value instanceof MIConst) { aName = ((MIConst)value).getCString(); } else { - aName = ""; + aName = ""; //$NON-NLS-1$ } // Value - String aValue = ""; + String aValue = ""; //$NON-NLS-1$ value = args[1].getMIValue(); if (value != null && value instanceof MIConst) { aValue = ((MIConst)value).getCString(); } else { - aValue = ""; + aValue = ""; //$NON-NLS-1$ } arg = new MIArg(aName, aValue); @@ -89,6 +89,6 @@ public class MIArg { } public String toString() { - return name + "=" + value; + return name + "=" + value; //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsm.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsm.java index 3888711d164..dd5f8062b45 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsm.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsm.java @@ -10,9 +10,9 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIAsm { long address; - String function = ""; - String opcode = ""; - String args = ""; + String function = ""; //$NON-NLS-1$ + String opcode = ""; //$NON-NLS-1$ + String args = ""; //$NON-NLS-1$ long offset; public MIAsm (MITuple tuple) { @@ -32,16 +32,16 @@ public class MIAsm { } public String getInstruction() { - return opcode + " " + args; + return opcode + " " + args; //$NON-NLS-1$ } public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append('{'); - buffer.append("address=\"" + Long.toHexString(address) +"\""); - buffer.append(",func-name=\"" + function + "\""); + buffer.append("address=\"" + Long.toHexString(address) +"\""); //$NON-NLS-2$ + buffer.append(",func-name=\"" + function + "\""); //$NON-NLS-2$ buffer.append(",offset=\"").append(offset).append('"'); - buffer.append(",inst=\"" + getInstruction() + "\""); + buffer.append(",inst=\"" + getInstruction() + "\""); //$NON-NLS-2$ buffer.append('}'); return buffer.toString(); } @@ -51,7 +51,7 @@ public class MIAsm { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsyncRecord.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsyncRecord.java index 277d61bfd8b..e483ecb8b4f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsyncRecord.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIAsyncRecord.java @@ -13,7 +13,7 @@ public abstract class MIAsyncRecord extends MIOOBRecord { final static MIResult[] nullResults = new MIResult[0]; MIResult[] results = null; - String asynClass = ""; + String asynClass = ""; //$NON-NLS-1$ int token = 0; public int getToken() { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakInsertInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakInsertInfo.java index d52d9444974..fa3a02d32a7 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakInsertInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakInsertInfo.java @@ -34,24 +34,24 @@ public class MIBreakInsertInfo extends MIInfo { String var = results[i].getVariable(); MIValue val = results[i].getMIValue(); MIBreakpoint bpt = null; - if (var.equals("wpt")) { + if (var.equals("wpt")) { //$NON-NLS-1$ if (val instanceof MITuple) { bpt = new MIBreakpoint((MITuple)val); bpt.setEnabled(true); bpt.setWriteWatchpoint(true); } - } else if (var.equals("bkpt")) { + } else if (var.equals("bkpt")) { //$NON-NLS-1$ if (val instanceof MITuple) { bpt = new MIBreakpoint((MITuple)val); bpt.setEnabled(true); } - } else if (var.equals("hw-awpt")) { + } else if (var.equals("hw-awpt")) { //$NON-NLS-1$ if (val instanceof MITuple) { bpt = new MIBreakpoint((MITuple)val); bpt.setAccessWatchpoint(true); bpt.setEnabled(true); } - } else if (var.equals("hw-rwpt")) { + } else if (var.equals("hw-rwpt")) { //$NON-NLS-1$ if (val instanceof MITuple) { bpt = new MIBreakpoint((MITuple)val); bpt.setReadWatchpoint(true); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakListInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakListInfo.java index 76075dd3c9c..8f6914dc29a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakListInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakListInfo.java @@ -40,7 +40,7 @@ public class MIBreakListInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("BreakpointTable")) { + if (var.equals("BreakpointTable")) { //$NON-NLS-1$ parseTable(results[i].getMIValue(), aList); } } @@ -54,7 +54,7 @@ public class MIBreakListInfo extends MIInfo { MIResult[] table = ((MITuple)val).getMIResults(); for (int j = 0; j < table.length; j++) { String variable = table[j].getVariable(); - if (variable.equals("body")) { + if (variable.equals("body")) { //$NON-NLS-1$ parseBody(table[j].getMIValue(), aList); } } @@ -66,7 +66,7 @@ public class MIBreakListInfo extends MIInfo { MIResult[] bkpts = ((MIList)body).getMIResults(); for (int i = 0; i < bkpts.length; i++) { String b = bkpts[i].getVariable(); - if (b.equals("bkpt")) { + if (b.equals("bkpt")) { //$NON-NLS-1$ MIValue value = bkpts[i].getMIValue(); if (value instanceof MITuple) { aList.add(new MIBreakpoint((MITuple)value)); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java index 3da45ea10c6..ca2a3756aab 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java @@ -45,17 +45,17 @@ package org.eclipse.cdt.debug.mi.core.output; public class MIBreakpoint { int number; - String type = ""; - String disp = ""; + String type = ""; //$NON-NLS-1$ + String disp = ""; //$NON-NLS-1$ boolean enabled; long address; - String func = ""; - String file = ""; + String func = ""; //$NON-NLS-1$ + String file = ""; //$NON-NLS-1$ int line; - String cond = ""; + String cond = ""; //$NON-NLS-1$ int times; - String what = ""; - String threadId = ""; + String what = ""; //$NON-NLS-1$ + String threadId = ""; //$NON-NLS-1$ int ignore; boolean isWpt; @@ -181,74 +181,74 @@ public class MIBreakpoint { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); } - if (var.equals("number")) { + if (var.equals("number")) { //$NON-NLS-1$ try { number = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("type")) { + } else if (var.equals("type")) { //$NON-NLS-1$ type = str; //type="hw watchpoint" - if (type.startsWith("hw")) { + if (type.startsWith("hw")) { //$NON-NLS-1$ isHdw = true; isWWpt = true; isWpt = true; } //type="acc watchpoint" - if (type.startsWith("acc")) { + if (type.startsWith("acc")) { //$NON-NLS-1$ isWWpt = true; isRWpt = true; isWpt = true; } //type="read watchpoint" - if (type.startsWith("read")) { + if (type.startsWith("read")) { //$NON-NLS-1$ isRWpt = true; isWpt = true; } // ?? - if (type.equals("watchpoint")) { + if (type.equals("watchpoint")) { //$NON-NLS-1$ isWpt = true; } // type="breakpoint" // default ok. - } else if (var.equals("disp")) { + } else if (var.equals("disp")) { //$NON-NLS-1$ disp = str; - } else if (var.equals("enabled")) { + } else if (var.equals("enabled")) { //$NON-NLS-1$ enabled = str.equals("y"); - } else if (var.equals("addr")) { + } else if (var.equals("addr")) { //$NON-NLS-1$ try { address = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("func")) { + } else if (var.equals("func")) { //$NON-NLS-1$ func = str; - } else if (var.equals("file")) { + } else if (var.equals("file")) { //$NON-NLS-1$ file = str; - } else if (var.equals("thread")) { + } else if (var.equals("thread")) { //$NON-NLS-1$ threadId = str; - } else if (var.equals("line")) { + } else if (var.equals("line")) { //$NON-NLS-1$ try { line = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("times")) { + } else if (var.equals("times")) { //$NON-NLS-1$ try { times = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("what") || var.equals("exp")) { + } else if (var.equals("what") || var.equals("exp")) { //$NON-NLS-1$ //$NON-NLS-2$ what = str; - } else if (var.equals("ignore")) { + } else if (var.equals("ignore")) { //$NON-NLS-1$ try { ignore = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("cond")) { + } else if (var.equals("cond")) { //$NON-NLS-1$ cond = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIConst.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIConst.java index bd167348c9c..7eabad5f41a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIConst.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIConst.java @@ -9,7 +9,7 @@ package org.eclipse.cdt.debug.mi.core.output; * GDB/MI const value represents a ios-c string. */ public class MIConst extends MIValue { - String cstring = ""; + String cstring = ""; //$NON-NLS-1$ public String getCString() { return cstring; @@ -68,25 +68,25 @@ public class MIConst extends MIValue { private static String isoC(char c) { String s = new Character(c).toString(); if (c == '"') { - s = "\""; + s = "\""; //$NON-NLS-1$ } else if (c == '\'') { - s = "\'"; + s = "\'"; //$NON-NLS-1$ } else if (c == '?') { - s = "?"; + s = "?"; //$NON-NLS-1$ } else if (c == 'a') { - s = "\007"; + s = "\007"; //$NON-NLS-1$ } else if (c == 'b') { - s = "\b"; + s = "\b"; //$NON-NLS-1$ } else if (c == 'f') { - s = "\f"; + s = "\f"; //$NON-NLS-1$ } else if (c == 'n') { - s = System.getProperty("line.separator", "\n"); + s = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ $NON-NLS-2$ } else if (c == 'r') { - s = "\r"; + s = "\r"; //$NON-NLS-1$ } else if (c == 't') { - s = "\t"; + s = "\t"; //$NON-NLS-1$ } else if (c == 'v') { - s = "\013"; + s = "\013"; //$NON-NLS-1$ } return s; } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataDisassembleInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataDisassembleInfo.java index a3a41dbfa3f..7cc6426e3f6 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataDisassembleInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataDisassembleInfo.java @@ -56,7 +56,7 @@ public class MIDataDisassembleInfo extends MIInfo { buffer.append(array[i].toString()); } } - buffer.append("]"); + buffer.append("]"); //$NON-NLS-1$ return buffer.toString(); } @@ -70,7 +70,7 @@ public class MIDataDisassembleInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("asm_insns")) { + if (var.equals("asm_insns")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIList) { parse((MIList)value, srcList, asmList); @@ -91,7 +91,7 @@ public class MIDataDisassembleInfo extends MIInfo { if (results != null && results.length > 0) { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("src_and_asm_line")) { + if (var.equals("src_and_asm_line")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { srcList.add(new MISrcAsm((MITuple)value)); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataEvaluateExpressionInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataEvaluateExpressionInfo.java index ecb262a1c6c..eec7f19b999 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataEvaluateExpressionInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataEvaluateExpressionInfo.java @@ -25,7 +25,7 @@ public class MIDataEvaluateExpressionInfo extends MIInfo{ } void parse() { - expr = ""; + expr = ""; //$NON-NLS-1$ if (isDone()) { MIOutput out = getMIOutput(); MIResultRecord rr = out.getMIResultRecord(); @@ -33,7 +33,7 @@ public class MIDataEvaluateExpressionInfo extends MIInfo{ MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("value")) { + if (var.equals("value")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { expr = ((MIConst)value).getCString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListChangedRegistersInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListChangedRegistersInfo.java index 17273d02e2b..0569575a816 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListChangedRegistersInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListChangedRegistersInfo.java @@ -34,7 +34,7 @@ public class MIDataListChangedRegistersInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("changed-registers")) { + if (var.equals("changed-registers")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIList) { parseRegisters((MIList)value, aList); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterNamesInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterNamesInfo.java index 41a28915933..3e6f734f106 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterNamesInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterNamesInfo.java @@ -41,7 +41,7 @@ public class MIDataListRegisterNamesInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("register-names")) { + if (var.equals("register-names")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIList) { parseRegisters((MIList) value, aList); @@ -66,7 +66,7 @@ public class MIDataListRegisterNamesInfo extends MIInfo { realNameCount++; aList.add(str); } else { - aList.add(""); + aList.add(""); //$NON-NLS-1$ } } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterValuesInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterValuesInfo.java index 08474b5c62b..a024929ec1d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterValuesInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterValuesInfo.java @@ -31,7 +31,7 @@ public class MIDataListRegisterValuesInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("register-values")) { + if (var.equals("register-values")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIList) { registers = MIRegisterValue.getMIRegisterValues((MIList)value); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataReadMemoryInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataReadMemoryInfo.java index 13a75acb199..83fbd8c043d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataReadMemoryInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIDataReadMemoryInfo.java @@ -83,47 +83,47 @@ public class MIDataReadMemoryInfo extends MIInfo { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); } - if (var.equals("addr")) { + if (var.equals("addr")) { //$NON-NLS-1$ try { addr = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("nr-bytes")) { + } else if (var.equals("nr-bytes")) { //$NON-NLS-1$ try { numBytes = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("total-bytes")) { + } else if (var.equals("total-bytes")) { //$NON-NLS-1$ try { totalBytes = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("next-row")) { + } else if (var.equals("next-row")) { //$NON-NLS-1$ try { nextRow = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("prev-row")) { + } else if (var.equals("prev-row")) { //$NON-NLS-1$ try { prevRow = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("next-page")) { + } else if (var.equals("next-page")) { //$NON-NLS-1$ try { nextPage = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("prev-page")) { + } else if (var.equals("prev-page")) { //$NON-NLS-1$ try { prevPage = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("memory")) { + } else if (var.equals("memory")) { //$NON-NLS-1$ if (value instanceof MIList) { parseMemory((MIList)value); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIEnvironmentPWDInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIEnvironmentPWDInfo.java index 80628881ec3..4a37acb400c 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIEnvironmentPWDInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIEnvironmentPWDInfo.java @@ -13,7 +13,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIEnvironmentPWDInfo extends MIInfo { - String pwd = ""; + String pwd = ""; //$NON-NLS-1$ public MIEnvironmentPWDInfo(MIOutput o) { super(o); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIFrame.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIFrame.java index e58ca2a9c19..818954eb3e5 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIFrame.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIFrame.java @@ -11,8 +11,8 @@ public class MIFrame { int level; long addr; - String func = ""; - String file = ""; + String func = ""; //$NON-NLS-1$ + String file = ""; //$NON-NLS-1$ int line; MIArg[] args = new MIArg[0]; @@ -46,18 +46,18 @@ public class MIFrame { public String toString() { StringBuffer buffer = new StringBuffer(); - buffer.append("level=\"" + level + "\""); - buffer.append(",addr=\"" + Long.toHexString(addr) + "\""); - buffer.append(",func=\"" + func + "\""); - buffer.append(",file=\"" + file + "\""); - buffer.append(",line=\"").append(line).append('"'); - buffer.append(",args=["); + buffer.append("level=\"" + level + "\""); //$NON-NLS-1$//$NON-NLS-2$ + buffer.append(",addr=\"" + Long.toHexString(addr) + "\""); //$NON-NLS-1$//$NON-NLS-2$ + buffer.append(",func=\"" + func + "\""); //$NON-NLS-1$//$NON-NLS-2$ + buffer.append(",file=\"" + file + "\""); //$NON-NLS-1$//$NON-NLS-2$ + buffer.append(",line=\"").append(line).append('"'); //$NON-NLS-1$ + buffer.append(",args=["); //$NON-NLS-1$ for (int i = 0; i < args.length; i++) { if (i != 0) { buffer.append(','); } - buffer.append("{name=\"" + args[i].getName() + "\""); - buffer.append(",value=\"" + args[i].getValue() + "\"}"); + buffer.append("{name=\"" + args[i].getName() + "\"");//$NON-NLS-1$//$NON-NLS-2$ + buffer.append(",value=\"" + args[i].getValue() + "\"}");//$NON-NLS-1$//$NON-NLS-2$ } buffer.append(']'); return buffer.toString(); @@ -68,27 +68,27 @@ public class MIFrame { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); } - if (var.equals("level")) { + if (var.equals("level")) { //$NON-NLS-1$ try { level = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("addr")) { + } else if (var.equals("addr")) { //$NON-NLS-1$ try { addr = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("func")) { + } else if (var.equals("func")) { //$NON-NLS-1$ func = null; if ( str != null ) { str = str.trim(); - if ( str.equals( "??" ) ) - func = ""; + if ( str.equals( "??" ) ) //$NON-NLS-1$ + func = ""; //$NON-NLS-1$ else { // In some situations gdb returns the function names that include parameter types. @@ -100,14 +100,14 @@ public class MIFrame { func = str; } } - } else if (var.equals("file")) { + } else if (var.equals("file")) { //$NON-NLS-1$ file = str; - } else if (var.equals("line")) { + } else if (var.equals("line")) { //$NON-NLS-1$ try { line = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("args")) { + } else if (var.equals("args")) { //$NON-NLS-1$ if (value instanceof MIList) { args = MIArg.getMIArgs((MIList)value); } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowDirectoriesInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowDirectoriesInfo.java index b8755345ac1..7f303d7250a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowDirectoriesInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowDirectoriesInfo.java @@ -48,7 +48,7 @@ public class MIGDBShowDirectoriesInfo extends MIInfo { } void parseDirectories(String d) { - String sep = System.getProperty("path.separator", ":"); + String sep = System.getProperty("path.separator", ":"); //$NON-NLS-1$ //$NON-NLS-2$ StringTokenizer st = new StringTokenizer(d, sep); int count = st.countTokens(); dirs = new String[count]; diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowInfo.java index 39edb38d929..bac02b77812 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowInfo.java @@ -12,7 +12,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIGDBShowInfo extends MIInfo { - String value = ""; + String value = ""; //$NON-NLS-1$ public MIGDBShowInfo(MIOutput o) { super(o); @@ -31,7 +31,7 @@ public class MIGDBShowInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("value")) { + if (var.equals("value")) { //$NON-NLS-1$ MIValue val = results[i].getMIValue(); if (val instanceof MIConst) { value = ((MIConst)val).getString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowSolibSearchPathInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowSolibSearchPathInfo.java index 41282c0892e..85c21ba9f0e 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowSolibSearchPathInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIGDBShowSolibSearchPathInfo.java @@ -35,7 +35,7 @@ public class MIGDBShowSolibSearchPathInfo extends MIGDBShowInfo { } void parseDirectories(String d) { - String sep = System.getProperty("path.separator", ":"); + String sep = System.getProperty("path.separator", ":"); //$NON-NLS-1$ //$NON-NLS-2$ StringTokenizer st = new StringTokenizer(d, sep); int count = st.countTokens(); dirs = new String[count]; diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfo.java index eb275e63048..5964d0b60b9 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfo.java @@ -43,7 +43,7 @@ public class MIInfo { if (miOutput != null) { return miOutput.toString(); } - return ""; + return ""; //$NON-NLS-1$ } boolean isResultClass(String rc) { @@ -64,7 +64,7 @@ public class MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("msg")) { + if (var.equals("msg")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String s = ((MIConst)value).getCString(); @@ -74,6 +74,6 @@ public class MIInfo { } } } - return ""; + return ""; //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoProgramInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoProgramInfo.java index 6eb250fbeaa..0eb6dfd7625 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoProgramInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoProgramInfo.java @@ -52,7 +52,7 @@ public class MIInfoProgramInfo extends MIInfo { if (str != null && str.length() > 0) { str = str.replace('.', ' '); str = str.trim(); - if (str.startsWith("Using")) { + if (str.startsWith("Using")) { //$NON-NLS-1$ StringTokenizer st = new StringTokenizer(str); while (st.hasMoreTokens()) { String s = st.nextToken(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSharedLibraryInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSharedLibraryInfo.java index 8d64c7ce669..05b18a89c64 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSharedLibraryInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSharedLibraryInfo.java @@ -53,7 +53,7 @@ public class MIInfoSharedLibraryInfo extends MIInfo { void parseShared(String str, List aList) { if (!hasProcessHeader) { // Process the header and choose a type. - if (str.startsWith("DLL")) { + if (str.startsWith("DLL")) { //$NON-NLS-1$ isUnixFormat = false; } hasProcessHeader = true; @@ -77,7 +77,7 @@ public class MIInfoSharedLibraryInfo extends MIInfo { long from = 0; long to = 0; boolean syms = false; - String name = ""; + String name = ""; //$NON-NLS-1$ for (int i = 0;(index = str.lastIndexOf(' ')) != -1 || i <= 3; i++) { if (index == -1) { @@ -125,8 +125,8 @@ public class MIInfoSharedLibraryInfo extends MIInfo { if (index > 0) { String sub = str.substring(index).trim(); // Go figure they do not print the "0x" to indicate hexadecimal!! - if (!sub.startsWith("0x")) { - sub = "0x" + sub; + if (!sub.startsWith("0x")) { //$NON-NLS-1$ + sub = "0x" + sub; //$NON-NLS-1$ } try { from = Long.decode(sub).longValue(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java index f0d0c6ba357..c169344f26d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java @@ -61,11 +61,11 @@ public class MIInfoSignalsInfo extends MIInfo { // ~"Signal Stop\tPrint\tPass to program\tDescription\n" // ~"Use the \"handle\" command to change these tables.\n" if (!str.startsWith("Signal ") && !str.startsWith("Use ")) { - String signal = ""; + String signal = ""; //$NON-NLS-1$ boolean stop = false; boolean print = false; boolean pass = false; - String desc = ""; + String desc = ""; //$NON-NLS-1$ StringTokenizer tokenizer = new StringTokenizer(str); for (int i = 0; tokenizer.hasMoreTokens(); i++) { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIMemory.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIMemory.java index f3b7d02150e..0a6a39a7431 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIMemory.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIMemory.java @@ -10,7 +10,7 @@ package org.eclipse.cdt.debug.mi.core.output; public class MIMemory { long addr; long [] data = new long[0]; - String ascii = ""; + String ascii = ""; //$NON-NLS-1$ public MIMemory(MITuple tuple) { parse(tuple); @@ -30,8 +30,8 @@ public class MIMemory { public String toSting() { StringBuffer buffer = new StringBuffer(); - buffer.append("addr=\"" + Long.toHexString(addr) + "\""); - buffer.append("data=["); + buffer.append("addr=\"" + Long.toHexString(addr) + "\""); //$NON-NLS-1$ //$NON-NLS-2$ + buffer.append("data=["); //$NON-NLS-1$ for (int i = 0 ; i < data.length; i++) { if (i != 0) { buffer.append(','); @@ -40,7 +40,7 @@ public class MIMemory { } buffer.append(']'); if (ascii.length() > 0) { - buffer.append(",ascii=\"" + ascii + "\""); + buffer.append(",ascii=\"" + ascii + "\""); //$NON-NLS-1$ //$NON-NLS-2$ } return buffer.toString(); } @@ -50,21 +50,21 @@ public class MIMemory { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); } - if (var.equals("addr")) { + if (var.equals("addr")) { //$NON-NLS-1$ try { addr = Long.decode(str.trim()).longValue(); } catch (NumberFormatException e) { } - } else if (var.equals("data")) { + } else if (var.equals("data")) { //$NON-NLS-1$ if (value != null && value instanceof MIList) { parseData((MIList)value); } - } else if (var.equals("ascii")) { + } else if (var.equals("ascii")) { //$NON-NLS-1$ ascii = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIOutput.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIOutput.java index ff55dfe1265..8568c40b0c8 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIOutput.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIOutput.java @@ -9,7 +9,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIOutput { - public static final String terminator = "(gdb)"; + public static final String terminator = "(gdb)"; //$NON-NLS-1$ public static final MIOOBRecord[] nullOOBRecord = new MIOOBRecord[0]; MIResultRecord rr = null; MIOOBRecord[] oobs = nullOOBRecord; diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIParser.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIParser.java index d62bddd550e..1efbabe23a3 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIParser.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIParser.java @@ -97,7 +97,7 @@ public class MIParser { List oobs = new ArrayList(1); int id = -1; - StringTokenizer st = new StringTokenizer(buffer, "\n"); + StringTokenizer st = new StringTokenizer(buffer, "\n"); //$NON-NLS-1$ while (st.hasMoreTokens()) { StringBuffer token = new StringBuffer(st.nextToken()); @@ -236,7 +236,7 @@ public class MIParser { } else { // Badly format MI line, just pass it to the user as target stream MIStreamRecord stream = new MITargetStreamOutput(); - stream.setCString(buffer.toString() + "\n"); + stream.setCString(buffer.toString() + "\n"); //$NON-NLS-1$ oob = stream; } return oob; diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIRegisterValue.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIRegisterValue.java index 2ec93ae7c92..d061c3df1f8 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIRegisterValue.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIRegisterValue.java @@ -63,21 +63,21 @@ public class MIRegisterValue { MIRegisterValue arg = null; if (args.length == 2) { // Name - String aName = ""; + String aName = ""; //$NON-NLS-1$ MIValue value = args[0].getMIValue(); if (value != null && value instanceof MIConst) { aName = ((MIConst)value).getCString(); } else { - aName = ""; + aName = ""; //$NON-NLS-1$ } // Value - String aValue = ""; + String aValue = ""; //$NON-NLS-1$ value = args[1].getMIValue(); if (value != null && value instanceof MIConst) { aValue = ((MIConst)value).getCString(); } else { - aValue = ""; + aValue = ""; //$NON-NLS-1$ } try { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResult.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResult.java index 1a9464a1ed9..a18a80e9250 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResult.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResult.java @@ -8,7 +8,7 @@ package org.eclipse.cdt.debug.mi.core.output; * GDB/MI result sematic (Variable=Value) */ public class MIResult { - String variable = ""; + String variable = ""; //$NON-NLS-1$ MIValue value = null; public String getVariable() { @@ -36,7 +36,7 @@ public class MIResult { if (v.charAt(0) == '[' || v.charAt(0) =='{') { buffer.append(v); } else { - buffer.append("\"" + value.toString() + "\""); + buffer.append("\"" + value.toString() + "\""); //$NON-NLS-1$ //$NON-NLS-2$ } } return buffer.toString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java index a8e1369d649..305939fa813 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java @@ -9,15 +9,15 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIResultRecord { - public final static String DONE ="done"; - public final static String RUNNING ="running"; - public final static String CONNECTED ="connected"; - public final static String ERROR ="error"; - public final static String EXIT ="exit"; + public final static String DONE ="done"; //$NON-NLS-1$ + public final static String RUNNING ="running"; //$NON-NLS-1$ + public final static String CONNECTED ="connected"; //$NON-NLS-1$ + public final static String ERROR ="error"; //$NON-NLS-1$ + public final static String EXIT ="exit"; //$NON-NLS-1$ static final MIResult[] nullResults = new MIResult[0]; MIResult[] results = nullResults; - String resultClass = ""; + String resultClass = ""; //$NON-NLS-1$ int token = -1; public int getToken() { diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISigHandle.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISigHandle.java index 9f5b5f88fe8..4dc86eedb7b 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISigHandle.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISigHandle.java @@ -10,11 +10,11 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MISigHandle { - String signal = ""; + String signal = ""; //$NON-NLS-1$ boolean stop; boolean print; boolean pass; - String description = ""; + String description = ""; //$NON-NLS-1$ public MISigHandle (String name, boolean stp, boolean prnt, boolean ps, String desc) { signal = name; diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISrcAsm.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISrcAsm.java index 12921c67892..82bee37b382 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISrcAsm.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MISrcAsm.java @@ -13,7 +13,7 @@ import java.util.List; */ public class MISrcAsm { int line; - String file = ""; + String file = ""; //$NON-NLS-1$ MIAsm[] asm; public MISrcAsm(MITuple tuple) { @@ -34,10 +34,10 @@ public class MISrcAsm { public String toString() { StringBuffer buffer = new StringBuffer(); - buffer.append("src_and_asm_line={"); - buffer.append("line=\"").append(line).append('"'); - buffer.append(",file=\"" + file + "\","); - buffer.append("line_asm_insn=["); + buffer.append("src_and_asm_line={"); //$NON-NLS-1$ + buffer.append("line=\"").append(line).append('"'); //$NON-NLS-1$ + buffer.append(",file=\"" + file + "\","); //$NON-NLS-1$ //$NON-NLS-2$ + buffer.append("line_asm_insn=["); //$NON-NLS-1$ for (int i = 0; i < asm.length; i++) { if (i != 0) { buffer.append(','); @@ -55,13 +55,13 @@ public class MISrcAsm { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); } - if (var.equals("line_asm_insn")) { + if (var.equals("line_asm_insn")) { //$NON-NLS-1$ if (value instanceof MIList) { MIList list = (MIList)value; MIValue[] values = list.getMIValues(); @@ -71,12 +71,12 @@ public class MISrcAsm { } } } - } if (var.equals("line")) { + } if (var.equals("line")) { //$NON-NLS-1$ try { line = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("file")) { + } else if (var.equals("file")) { //$NON-NLS-1$ file = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackInfoDepthInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackInfoDepthInfo.java index 872ae47a614..a8a3f7a7d0f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackInfoDepthInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackInfoDepthInfo.java @@ -29,7 +29,7 @@ public class MIStackInfoDepthInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("depth")) { + if (var.equals("depth")) { //$NON-NLS-1$ MIValue val = results[i].getMIValue(); if (val instanceof MIConst) { String str = ((MIConst)val).getCString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListArgumentsInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListArgumentsInfo.java index d3d54bea793..b74ac5a0bf4 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListArgumentsInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListArgumentsInfo.java @@ -36,7 +36,7 @@ public class MIStackListArgumentsInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("stack-args")) { + if (var.equals("stack-args")) { //$NON-NLS-1$ MIValue val = results[i].getMIValue(); if (val instanceof MIList) { parseStack((MIList)val, aList); @@ -52,7 +52,7 @@ public class MIStackListArgumentsInfo extends MIInfo { MIResult[] results = miList.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("frame")) { + if (var.equals("frame")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { aList.add (new MIFrame((MITuple)value)); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListFramesInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListFramesInfo.java index ba7d910d6a0..c1c5d6a6cd9 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListFramesInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListFramesInfo.java @@ -35,7 +35,7 @@ public class MIStackListFramesInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("stack")) { + if (var.equals("stack")) { //$NON-NLS-1$ MIValue val = results[i].getMIValue(); if (val instanceof MIList) { parseStack((MIList)val, aList); @@ -53,7 +53,7 @@ public class MIStackListFramesInfo extends MIInfo { MIResult[] results = miList.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("frame")) { + if (var.equals("frame")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { aList.add (new MIFrame((MITuple)value)); @@ -67,7 +67,7 @@ public class MIStackListFramesInfo extends MIInfo { MIResult[] results = tuple.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("frame")) { + if (var.equals("frame")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { aList.add (new MIFrame((MITuple)value)); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListLocalsInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListLocalsInfo.java index a3c1309afad..309c4637940 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListLocalsInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStackListLocalsInfo.java @@ -36,7 +36,7 @@ public class MIStackListLocalsInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("locals")) { + if (var.equals("locals")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIList) { locals = MIArg.getMIArgs((MIList)value); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStreamRecord.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStreamRecord.java index 7a357c54c70..395083fe160 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStreamRecord.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIStreamRecord.java @@ -9,7 +9,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public abstract class MIStreamRecord extends MIOOBRecord { - String cstring = ""; + String cstring = ""; //$NON-NLS-1$ public String getCString() { return cstring; @@ -25,12 +25,12 @@ public abstract class MIStreamRecord extends MIOOBRecord { public String toString() { if (this instanceof MIConsoleStreamOutput) { - return "~\"" + cstring + "\"\n"; + return "~\"" + cstring + "\"\n"; //$NON-NLS-1$ } else if (this instanceof MITargetStreamOutput) { - return "@\"" + cstring + "\"\n"; + return "@\"" + cstring + "\"\n"; //$NON-NLS-1$ } else if (this instanceof MILogStreamOutput) { - return "&\"" + cstring + "\"\n"; + return "&\"" + cstring + "\"\n"; //$NON-NLS-1$ } - return "\"" + cstring + "\"\n"; + return "\"" + cstring + "\"\n"; //$NON-NLS-1$ } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MITargetStreamOutput.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MITargetStreamOutput.java index d1a5f442eb1..bc7af913e38 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MITargetStreamOutput.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MITargetStreamOutput.java @@ -9,5 +9,5 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MITargetStreamOutput extends MIStreamRecord { - public static final String startTag = "@"; + public static final String startTag = "@"; //$NON-NLS-1$ } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadListIdsInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadListIdsInfo.java index 0b2dc359a41..8ed3be2a8a6 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadListIdsInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadListIdsInfo.java @@ -30,7 +30,7 @@ public class MIThreadListIdsInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("thread-ids")) { + if (var.equals("thread-ids")) { //$NON-NLS-1$ MIValue val = results[i].getMIValue(); if (val instanceof MITuple) { parseThreadIds((MITuple)val); @@ -49,7 +49,7 @@ public class MIThreadListIdsInfo extends MIInfo { threadIds = new int[results.length]; for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("thread-id")) { + if (var.equals("thread-id")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String str = ((MIConst)value).getCString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadSelectInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadSelectInfo.java index dc66cdef9e9..59bc8c463d4 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadSelectInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIThreadSelectInfo.java @@ -33,7 +33,7 @@ public class MIThreadSelectInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("new-thread-id")) { + if (var.equals("new-thread-id")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String str = ((MIConst)value).getCString(); @@ -42,7 +42,7 @@ public class MIThreadSelectInfo extends MIInfo { } catch (NumberFormatException e) { } } - } else if (var.equals("frame")) { + } else if (var.equals("frame")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { frame = new MIFrame((MITuple)value); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVar.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVar.java index 4e8c2fcd64b..0f9cd3c926c 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVar.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVar.java @@ -12,9 +12,9 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIVar { - String name = ""; - String type = ""; - String exp = ""; + String name = ""; //$NON-NLS-1$ + String type = ""; //$NON-NLS-1$ + String exp = ""; //$NON-NLS-1$ int numchild; @@ -49,21 +49,21 @@ public class MIVar { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value != null && value instanceof MIConst) { str = ((MIConst)value).getCString(); } - if (var.equals("numchild")) { + if (var.equals("numchild")) { //$NON-NLS-1$ try { numchild = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("name")) { + } else if (var.equals("name")) { //$NON-NLS-1$ name = str; - } else if (var.equals("type")) { + } else if (var.equals("type")) { //$NON-NLS-1$ type = str; - } else if (var.equals("exp")) { + } else if (var.equals("exp")) { //$NON-NLS-1$ exp = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarCreateInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarCreateInfo.java index c86434b95cc..ac8e1d66852 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarCreateInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarCreateInfo.java @@ -12,9 +12,9 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIVarCreateInfo extends MIInfo { - String name = ""; + String name = ""; //$NON-NLS-1$ int numChild; - String type = ""; + String type = ""; //$NON-NLS-1$ MIVar child; public MIVarCreateInfo(MIOutput record) { @@ -38,19 +38,19 @@ public class MIVarCreateInfo extends MIInfo { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("name")) { + if (var.equals("name")) { //$NON-NLS-1$ name = str; - } else if (var.equals("numchild")) { + } else if (var.equals("numchild")) { //$NON-NLS-1$ try { numChild = Integer.parseInt(str.trim()); } catch (NumberFormatException e) { } - } else if (var.equals("type")) { + } else if (var.equals("type")) { //$NON-NLS-1$ type = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarDeleteInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarDeleteInfo.java index cf373773d72..1b4182ecf72 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarDeleteInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarDeleteInfo.java @@ -29,7 +29,7 @@ public class MIVarDeleteInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("ndeleted")) { + if (var.equals("ndeleted")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String str = ((MIConst)value).getString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarEvaluateExpressionInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarEvaluateExpressionInfo.java index fd49348645c..01a707ea41c 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarEvaluateExpressionInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarEvaluateExpressionInfo.java @@ -9,7 +9,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIVarEvaluateExpressionInfo extends MIInfo { - String value = ""; + String value = ""; //$NON-NLS-1$ public MIVarEvaluateExpressionInfo(MIOutput record) { super(record); @@ -28,7 +28,7 @@ public class MIVarEvaluateExpressionInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("value")) { + if (var.equals("value")) { //$NON-NLS-1$ MIValue val = results[i].getMIValue(); if (val instanceof MIConst) { value = ((MIConst)val).getCString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoExpressionInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoExpressionInfo.java index 3df7772a9a0..80f13306530 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoExpressionInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoExpressionInfo.java @@ -9,8 +9,8 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIVarInfoExpressionInfo extends MIInfo { - String lang = ""; - String exp = ""; + String lang = ""; //$NON-NLS-1$ + String exp = ""; //$NON-NLS-1$ public MIVarInfoExpressionInfo(MIOutput record) { super(record); @@ -34,14 +34,14 @@ public class MIVarInfoExpressionInfo extends MIInfo { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("lang")) { + if (var.equals("lang")) { //$NON-NLS-1$ lang = str; - } else if (var.equals("exp")) { + } else if (var.equals("exp")) { //$NON-NLS-1$ exp = str; } } diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoNumChildrenInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoNumChildrenInfo.java index c6d88a27558..4f1b70cb844 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoNumChildrenInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoNumChildrenInfo.java @@ -31,7 +31,7 @@ public class MIVarInfoNumChildrenInfo extends MIInfo { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("numchild")) { + if (var.equals("numchild")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String str = ((MIConst)value).getString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoTypeInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoTypeInfo.java index 81b79e2ad18..5542d360f59 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoTypeInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarInfoTypeInfo.java @@ -10,7 +10,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIVarInfoTypeInfo extends MIInfo { - String type = ""; + String type = ""; //$NON-NLS-1$ public MIVarInfoTypeInfo(MIOutput record) { super(record); @@ -29,7 +29,7 @@ public class MIVarInfoTypeInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("type")) { + if (var.equals("type")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { type = ((MIConst)value).getString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarListChildrenInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarListChildrenInfo.java index 569d97a5e89..7d7f1481031 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarListChildrenInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarListChildrenInfo.java @@ -38,7 +38,7 @@ public class MIVarListChildrenInfo extends MIInfo { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - if (var.equals("numchild")) { + if (var.equals("numchild")) { //$NON-NLS-1$ if (value instanceof MIConst) { String str = ((MIConst)value).getString(); try { @@ -46,7 +46,7 @@ public class MIVarListChildrenInfo extends MIInfo { } catch (NumberFormatException e) { } } - } else if (var.equals("children")) { + } else if (var.equals("children")) { //$NON-NLS-1$ if (value instanceof MITuple) { parseChildren((MITuple)value, aList); } @@ -61,7 +61,7 @@ public class MIVarListChildrenInfo extends MIInfo { MIResult[] results = tuple.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("child")) { + if (var.equals("child")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { aList.add(new MIVar((MITuple)value)); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowAttributesInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowAttributesInfo.java index 67b428d36bd..213e6b1f20e 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowAttributesInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowAttributesInfo.java @@ -9,7 +9,7 @@ package org.eclipse.cdt.debug.mi.core.output; */ public class MIVarShowAttributesInfo extends MIInfo { - String attr = ""; + String attr = ""; //$NON-NLS-1$ public MIVarShowAttributesInfo(MIOutput record) { super(record); @@ -21,7 +21,7 @@ public class MIVarShowAttributesInfo extends MIInfo { } public boolean isEditable() { - return attr.equals("editable"); + return attr.equals("editable"); //$NON-NLS-1$ } void parse() { @@ -32,7 +32,7 @@ public class MIVarShowAttributesInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("attr")) { + if (var.equals("attr")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { attr = ((MIConst)value).getString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowFormatInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowFormatInfo.java index c1cf409503a..050899d43c1 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowFormatInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarShowFormatInfo.java @@ -30,7 +30,7 @@ public class MIVarShowFormatInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("name")) { + if (var.equals("name")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MIConst) { String str = ((MIConst)value).getString(); diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarUpdateInfo.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarUpdateInfo.java index 84051a2f79a..19483f01d06 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarUpdateInfo.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIVarUpdateInfo.java @@ -34,7 +34,7 @@ public class MIVarUpdateInfo extends MIInfo { MIResult[] results = rr.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); - if (var.equals("changelist")) { + if (var.equals("changelist")) { //$NON-NLS-1$ MIValue value = results[i].getMIValue(); if (value instanceof MITuple) { parseChangeList((MITuple)value, aList); @@ -52,20 +52,20 @@ public class MIVarUpdateInfo extends MIInfo { for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); - String str = ""; + String str = ""; //$NON-NLS-1$ if (value instanceof MIConst) { str = ((MIConst)value).getString(); } - if (var.equals("name")) { + if (var.equals("name")) { //$NON-NLS-1$ change = new MIVarChange(str); aList.add(change); - } else if (var.equals("in_scope")) { + } else if (var.equals("in_scope")) { //$NON-NLS-1$ if (change != null) { - change.setInScope("true".equals(str)); + change.setInScope("true".equals(str)); //$NON-NLS-1$ } - } else if (var.equals("type_changed")) { + } else if (var.equals("type_changed")) { //$NON-NLS-1$ if (change != null) { - change.setChanged("true".equals(str)); + change.setChanged("true".equals(str)); //$NON-NLS-1$ } } }