Index: /FCKeditor.Java/branches/2.4/src/main/java/net/fckeditor/connector/ConnectorServlet.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/net/fckeditor/connector/ConnectorServlet.java	(revision 1587)
+++ /FCKeditor.Java/branches/2.4/src/main/java/net/fckeditor/connector/ConnectorServlet.java	(revision 1588)
@@ -294,31 +294,4 @@
 		return replaceAll(sw.toString(), "//", "/");
 	}
-
-	/**
-	 * Initializes the {@link ExtensionsHandler} with the allowed or denied
-	 * extensions of a file type.
-	 * 
-	 * @param type
-	 * @param allowedList
-	 * @param deniedList
-	 * @throws IllegalArgumentException
-	 *             if allowed and denied extensions are set.
-	 */
-	private void setExtension(final ResourceTypeHandler type,
-			final String allowedList, final String deniedList) {
-		// if both lists are set, we have to throw an error, because only one
-		// list should be set
-		if (Utils.isNotEmpty(allowedList) && Utils.isNotEmpty(deniedList)) {
-			String errorMsg = "Allowed and denied extensions are set for ["
-					+ type + "]. Just one of them should be set!";
-			logger.error(errorMsg);
-			throw new IllegalArgumentException(errorMsg);
-		}
-
-		if (Utils.isNotEmpty(allowedList))
-			ExtensionsHandler.setExtensionsAllowed(type, allowedList);
-		else
-			ExtensionsHandler.setExtensionsDenied(type, deniedList);
-	}
 	
 }
