fix for JAL-631
authorjprocter <Jim Procter>
Tue, 7 Sep 2010 13:24:45 +0000 (13:24 +0000)
committerjprocter <Jim Procter>
Tue, 7 Sep 2010 13:24:45 +0000 (13:24 +0000)
src/jalview/bin/JalviewLite.java

index 27e7a7f..b136374 100755 (executable)
@@ -1190,7 +1190,7 @@ public class JalviewLite extends Applet
   public String arrayToSeparatorList(String[] list)
   {
     StringBuffer v = new StringBuffer();
-    if (list != null)
+    if (list != null && list.length>0)
     {
       for (int i = 0, iSize = list.length - 1; i < iSize; i++)
       {