Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Utils.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Utils.java	(revision 1295)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Utils.java	(revision 1296)
@@ -32,87 +32,88 @@
 public class Utils {
 
-	/**
-	 * Constructs a set of uppercased strings from a 'delimiter' separated string.
-	 * 
-	 * @param stringList
-	 * @param delimiter
-	 *            The delimiter. It shouldn't be empty!
-	 * @return An emtpy list, if 'stringList' is empty, or an uppercased set of strings.
-	 * @throws IllegalArgumentException  if 'delimiter' is empty.
-	 */
-	public static Set getSet(final String stringList, final String delimiter) {
-		if (isEmpty(delimiter))
-			throw new IllegalArgumentException("Argument 'delimiter' shouldn't be empty!");
-		if (stringList == null || isEmpty(stringList))
-			return new HashSet();
+    /**
+     * Constructs a set of uppercased strings from a 'delimiter' separated string.
+     * 
+     * @param stringList
+     * @param delimiter
+     *                The delimiter. It shouldn't be empty!
+     * @return An emtpy list, if 'stringList' is empty, or an uppercased set of strings.
+     * @throws IllegalArgumentException
+     *                 if 'delimiter' is empty.
+     */
+    public static Set getSet(final String stringList, final String delimiter) {
+	if (isEmpty(delimiter))
+	    throw new IllegalArgumentException("Argument 'delimiter' shouldn't be empty!");
+	if (stringList == null || isEmpty(stringList))
+	    return new HashSet();
 
-		Set set = new HashSet();
-		StringTokenizer st = new StringTokenizer(stringList, delimiter);
-		while (st.hasMoreTokens()) {
-			String tmp = st.nextToken();
-			if (isNotEmpty(tmp)) // simple empty filter
-				set.add(tmp.toLowerCase());
-		}
-		return set;
+	Set set = new HashSet();
+	StringTokenizer st = new StringTokenizer(stringList, delimiter);
+	while (st.hasMoreTokens()) {
+	    String tmp = st.nextToken();
+	    if (isNotEmpty(tmp)) // simple empty filter
+		set.add(tmp.toLowerCase());
 	}
+	return set;
+    }
 
-	/**
-	 * Just a wrapper to {@link #getSet(String, String)} for using '&#124;' as delimiter.
-	 */
-	public static Set getSet(final String stringlist) {
-		return getSet(stringlist, "|");
+    /**
+     * Just a wrapper to {@link #getSet(String, String)} for using '&#124;' as delimiter.
+     */
+    public static Set getSet(final String stringlist) {
+	return getSet(stringlist, "|");
+    }
+
+    /**
+     * Checks if a string is null or empty.
+     * 
+     * @param str
+     *                to check
+     * @return <code>true</code> if the String is empty or null
+     */
+    public static boolean isEmpty(final String str) {
+	return str == null || str.length() == 0;
+    }
+
+    /**
+     * Just a wrapper to {@link #isEmpty(String)}.
+     * 
+     * @param str
+     * @return <code>true</code> if the String is not empty and not nul
+     */
+    public static boolean isNotEmpty(final String str) {
+	return !isEmpty(str);
+    }
+
+    /**
+     * Replaces all 'search' with 'replacement' in 'string'.
+     * 
+     * <pre>
+     * Utils.replaceAll(null, *, *)		= &quot;&quot;
+     * Utils.replaceAll(&quot;&quot;, *, *)		= &quot;&quot;
+     * Utils.replaceAll(&quot;foo&quot;, null, *)	= &quot;foo&quot;
+     * Utils.replaceAll(&quot;foo&quot;, &quot;o&quot;, &quot;a&quot;)	= &quot;faa&quot;
+     * </pre>
+     * 
+     * @param string
+     * @param search
+     * @param replacement
+     * @return
+     */
+    public static String replaceAll(final String string, final String search, final String replacement) {
+	if (isEmpty(string))
+	    return "";
+	if (isEmpty(search))
+	    return string;
+	if (string.indexOf(search) == -1)
+	    return string;
+	StringBuffer strb = new StringBuffer(string);
+	int pos = strb.indexOf(search);
+
+	while (pos != -1) {
+	    strb.replace(pos, pos + search.length(), replacement);
+	    pos = strb.indexOf(search);
 	}
-
-	/**
-	 * Checks if a string is null or empty.
-	 * 
-	 * @param str
-	 *            to check
-	 * @return <code>true</code> if the String is empty or null
-	 */
-	public static boolean isEmpty(final String str) {
-		return str == null || str.length() == 0;
-	}
-
-	/**
-	 * Just a wrapper to {@link #isEmpty(String)}.
-	 * 
-	 * @param str
-	 * @return <code>true</code> if the String is not empty and not nul
-	 */
-	public static boolean isNotEmpty(final String str) {
-		return !isEmpty(str);
-	}
-
-	/**
-	 * Replaces all 'search' with 'replacement' in 'string'.
-	 * 
-	 * <pre>
-	 * Utils.replaceAll(null, *, *)		= &quot;&quot;
-	 * Utils.replaceAll(&quot;&quot;, *, *)		= &quot;&quot;
-	 * Utils.replaceAll(&quot;foo&quot;, null, *)	= &quot;foo&quot;
-	 * Utils.replaceAll(&quot;foo&quot;, &quot;o&quot;, &quot;a&quot;)	= &quot;faa&quot;
-	 * </pre>
-	 * 
-	 * @param string
-	 * @param search
-	 * @param replacement
-	 * @return
-	 */
-	public static String replaceAll(final String string, final String search, final String replacement) {
-		if (isEmpty(string))
-			return "";
-		if (isEmpty(search))
-			return string;
-		if (string.indexOf(search) == -1)
-			return string;
-		StringBuffer strb = new StringBuffer(string);
-		int pos = strb.indexOf(search);
-
-		while (pos != -1) {
-			strb.replace(pos, pos + search.length(), replacement);
-			pos = strb.indexOf(search);
-		}
-		return strb.toString();
-	}
+	return strb.toString();
+    }
 }
