1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Minor optimization

This commit is contained in:
John Cortell 2010-04-22 22:47:57 +00:00
parent e4a6c71946
commit e26d82f4d5

View file

@ -71,7 +71,7 @@ public class GDBJtagDSFFinalLaunchSequence extends Sequence {
/** utility method; cuts down on clutter */
private void queueCommands(List<String> commands, RequestMonitor rm) {
if (commands.size() > 0) {
if (!commands.isEmpty()) {
fCommandControl.queueCommand(
new CLICommand<MIInfo>(fCommandControl.getContext(), composeCommand(commands)),
new DataRequestMonitor<MIInfo>(getExecutor(), rm));