tmf.ui: replace size()==0 with isEmpty()
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 19 Dec 2016 15:13:46 +0000 (10:13 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 19 Dec 2016 20:41:13 +0000 (15:41 -0500)
commita96fded25b2aea49f435176b0bedb3c054ca07b2
tree4946e47378d8e1bffa86eca47fe7776052bd2c66
parent4c976c37192a7bdeb4ea71ba01ad67a76269780d
tmf.ui: replace size()==0 with isEmpty()

Changes CustomTxtParserInputWizardPage to better handle checks. Size is
not guaranteed to be O(1) whereas isEmpty() is.

Change-Id: I5646fa6fd019bcfb14697d748170462c38fd099b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/87412
Reviewed-by: Marc-André Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-André Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/parsers/wizards/CustomTxtParserInputWizardPage.java
This page took 0.0254 seconds and 5 git commands to generate.