From 68fa1410975ccecc35db8a97669f0fbe5ef9b451 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Aug 2014 08:27:25 +0200 Subject: java: use isEmpty() instead of "size() == 0" Change-Id: I23e1038246999b0744d8e9ae83b66fa1f7dafa99 --- qadevOOo/runner/share/DescGetter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qadevOOo/runner/share') diff --git a/qadevOOo/runner/share/DescGetter.java b/qadevOOo/runner/share/DescGetter.java index e9bd0d5efa32..ad0ce136786e 100644 --- a/qadevOOo/runner/share/DescGetter.java +++ b/qadevOOo/runner/share/DescGetter.java @@ -153,7 +153,7 @@ public abstract class DescGetter } } - if (entryList.size() == 0) + if (entryList.isEmpty()) { return null; } -- cgit