1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[233381] - [data model] Simplify the GDBControlDMContext.toString() string.

This commit is contained in:
Pawel Piech 2008-05-22 05:07:16 +00:00
parent 9cfe89c6fc
commit a178ac32bc
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ public class GDBControl extends AbstractMIControl {
fGdbPath = gdbPath;
fExecPath = execPath;
fGDBLaunchTimeout = gdbLaunchTimeout;
fControlDmc = new GDBControlDMContext(session.getId(), getClass().getName() + ":" + ++fgInstanceCounter); //$NON-NLS-1$
fControlDmc = new GDBControlDMContext(session.getId(), "gdbcontrol[" + ++fgInstanceCounter + "]"); //$NON-NLS-1$ //$NON-NLS-2$
}
@Override

View file

@ -57,6 +57,6 @@ public class MIControlDMContext extends AbstractDMContext {
@Override
public String toString() {
return baseToString() + ".control(" + fCommandControlId + ")"; //$NON-NLS-1$//$NON-NLS-2$*/
return baseToString() + fCommandControlId;
}
}