mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
always send the token part of the string.
This commit is contained in:
parent
da1086033d
commit
a44a80e8eb
1 changed files with 1 additions and 7 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue