qadevOOo/runner/util/XMLTools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b11968e8bfcc1c4560427a9ca1d9e20a1075eb1b Author: Robert Antoni Buj i Gelonch <robert....@gmail.com> Date: Tue Oct 14 15:23:57 2014 +0200 runner: replace '.size() == 0' with '.isEmpty()' (collections) http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html#isEmpty() Change-Id: I9a8f4feab9120d2d9fbf845f305380cda9b263bb Reviewed-on: https://gerrit.libreoffice.org/11968 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java index ce15982..7dea190 100644 --- a/qadevOOo/runner/util/XMLTools.java +++ b/qadevOOo/runner/util/XMLTools.java @@ -718,7 +718,7 @@ public class XMLTools { if (!isWellFormed()) log.println("!!! Some errors were found in XML structure") ; - boolean result = tags.isEmpty() && chars.size() == 0 && isWellFormed(); + boolean result = tags.isEmpty() && chars.isEmpty() && isWellFormed(); reset(); return result; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits