Commit 3450e84f authored by Bill Lynch's avatar Bill Lynch Committed by bill

Minor fix


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1106 b35dd754-fafc-0310-a699-88a17e54d16e
parent ab2a5765
...@@ -84,6 +84,7 @@ public class SubDirInfoTask extends Task { ...@@ -84,6 +84,7 @@ public class SubDirInfoTask extends Task {
StringBuffer buf = new StringBuffer(); StringBuffer buf = new StringBuffer();
String value = null; String value = null;
String sep = ""; String sep = "";
if (subdirs != null) {
for (int i=0; i<subdirs.length; i++) { for (int i=0; i<subdirs.length; i++) {
File subdir = subdirs[i]; File subdir = subdirs[i];
boolean add = false; boolean add = false;
...@@ -103,6 +104,7 @@ public class SubDirInfoTask extends Task { ...@@ -103,6 +104,7 @@ public class SubDirInfoTask extends Task {
sep = getDelimiter(); sep = getDelimiter();
} }
} }
}
if (buf.length() > 0) { if (buf.length() > 0) {
value = buf.toString(); value = buf.toString();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment