package net.hexid;

import java.util.List;

public class Utils {
	/**
	 * Combine strings with a common string
	 * @param glue
	 * @param str
	 * @return A single string 
	 */
	public static String join(String glue, String... str) {
		StringBuilder sb = new StringBuilder();
		int i;
		for(i = 0; i < str.length-1; i++)
			sb.append(str[i] + glue);
		return sb.toString() + str[i];
	}
	
	/**
	 * Combine a list of strings with a common string
	 * @param glue
	 * @param str
	 * @return {@link #join(String, String...)}
	 */
	public static String join(String glue, List<String> str) {
		return join(glue, str.toArray(new String[0]));
	}
}

@@ -17,32 +17,8 @@
 d;%0A%0A
-import java.util.List;%0A%0A
 publ
@@ -138,17 +138,16 @@
 e string
- 
 %0A%09 */%0A%09p
@@ -357,10 +357,9 @@
 %0A%09%7D%0A
-%09
 %0A
+
 %09/**
@@ -487,24 +487,24 @@
 g...)%7D%0A%09 */%0A
-
 %09public stat
@@ -531,16 +531,26 @@
 g glue, 
+java.util.
 List%3CStr

Fix spacing in Utils class