diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java index 40adbf42c61..1cf0d811bdc 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java @@ -30,13 +30,7 @@ public class CLICommand extends Command * @return the text representation of this command */ public String toString(){ - String str = null; - int t = getToken(); - if (t > 0) { - str = Integer.toString(t) + " " + operation; - } else { - str = operation; - } + String str = getToken() + " " + operation; if (str.endsWith("\n")) return str; return str + "\n";