tmf.ui: RemoteFetchLogWizardRemotePage replace size()>0 with !isEmpty()
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 11 Mar 2016 21:03:09 +0000 (16:03 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 11 Mar 2016 23:28:26 +0000 (18:28 -0500)
Change-Id: Ic689934ff852f2464cd98a710697ffee75d096d6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68247
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.remote.ui/src/org/eclipse/tracecompass/internal/tmf/remote/ui/wizards/fetch/RemoteFetchLogWizardRemotePage.java

index 4cadc6691ab9ee130f966e327e78389fb06d72f6..49bbebecec24aec38566f0bf72dcdf23796683de 100644 (file)
@@ -503,7 +503,7 @@ public class RemoteFetchLogWizardRemotePage extends AbstractTracePackageWizardPa
                 }
             });
 
-            if ((fExperimentName != null) && fCreateExperimentCheckbox.getSelection() && (traceResources.size() > 0)) {
+            if ((fExperimentName != null) && fCreateExperimentCheckbox.getSelection() && (!traceResources.isEmpty())) {
                 final IFolder[] experimentFolders = new IFolder[1];
                 final TmfExperimentFolder root = fExperimentFolderElement;
                 final IStatus[] operationStatus = new IStatus[1];
This page took 0.028964 seconds and 5 git commands to generate.