summaryrefslogtreecommitdiff
path: root/scripting/java/org/openoffice/idesupport/CommandLineTools.java
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/java/org/openoffice/idesupport/CommandLineTools.java')
-rw-r--r--scripting/java/org/openoffice/idesupport/CommandLineTools.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/org/openoffice/idesupport/CommandLineTools.java b/scripting/java/org/openoffice/idesupport/CommandLineTools.java
index 5b9050cfd621..85995cdfac42 100644
--- a/scripting/java/org/openoffice/idesupport/CommandLineTools.java
+++ b/scripting/java/org/openoffice/idesupport/CommandLineTools.java
@@ -284,7 +284,7 @@ public class CommandLineTools {
}
if (scripts != null) {
- if (scripts.size() == 0)
+ if (scripts.isEmpty())
throw new Exception("No valid scripts found");
ParcelDescriptor desc = new ParcelDescriptor(parcelxml, language);