mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Minor optimization
This commit is contained in:
parent
e4a6c71946
commit
e26d82f4d5
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ public class GDBJtagDSFFinalLaunchSequence extends Sequence {
|
||||||
|
|
||||||
/** utility method; cuts down on clutter */
|
/** utility method; cuts down on clutter */
|
||||||
private void queueCommands(List<String> commands, RequestMonitor rm) {
|
private void queueCommands(List<String> commands, RequestMonitor rm) {
|
||||||
if (commands.size() > 0) {
|
if (!commands.isEmpty()) {
|
||||||
fCommandControl.queueCommand(
|
fCommandControl.queueCommand(
|
||||||
new CLICommand<MIInfo>(fCommandControl.getContext(), composeCommand(commands)),
|
new CLICommand<MIInfo>(fCommandControl.getContext(), composeCommand(commands)),
|
||||||
new DataRequestMonitor<MIInfo>(getExecutor(), rm));
|
new DataRequestMonitor<MIInfo>(getExecutor(), rm));
|
||||||
|
|
Loading…
Add table
Reference in a new issue