Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jtag
diff options
context:
space:
mode:
authorJohn Cortell2010-04-22 18:47:57 -0400
committerJohn Cortell2010-04-22 18:47:57 -0400
commite26d82f4d58dc18014867ff89254f057762a4a12 (patch)
treee34703900ce3633dd3348c9ecd130a0a0cc93d0a /jtag
parente4a6c719464b818f7530fd658728fcfc36418bce (diff)
downloadorg.eclipse.cdt-e26d82f4d58dc18014867ff89254f057762a4a12.tar.gz
org.eclipse.cdt-e26d82f4d58dc18014867ff89254f057762a4a12.tar.xz
org.eclipse.cdt-e26d82f4d58dc18014867ff89254f057762a4a12.zip
Minor optimization
Diffstat (limited to 'jtag')
-rw-r--r--jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFFinalLaunchSequence.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFFinalLaunchSequence.java b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFFinalLaunchSequence.java
index 1b05c86f69..8d81851298 100644
--- a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFFinalLaunchSequence.java
+++ b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFFinalLaunchSequence.java
@@ -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));

Back to the top