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 1673)
+++ /FCKeditor.Java/branches/2.4/src/main/java/net/fckeditor/connector/ConnectorServlet.java	(revision 1674)
@@ -129,5 +129,5 @@
 					.getDefaultResourceType(typeStr);
 			// TODO clean up this folder handling mess somehow?!
-			String typePath = constructSomething(resourceType, request);
+			String typePath = constructResourceTypeUrl(resourceType, request);
 			String typeDirPath = getServletContext().getRealPath(typePath);
 			String currentPath = typePath + currentFolderStr;
@@ -160,7 +160,7 @@
 					int errorNumber = XmlResponse.EN_UKNOWN;
 
-					if (newFolder.exists()) {
+					if (newFolder.exists())
 						errorNumber = XmlResponse.EN_ALREADY_EXISTS;
-					} else {
+					else {
 						try {
 							errorNumber = (newFolder.mkdir()) ? XmlResponse.EN_OK
@@ -217,5 +217,5 @@
 			commandStr = "QuickUpload";
 			currentFolderStr = "/";
-			String quickUploadFolder = constructTypeBasedFolderString(fileType, currentFolderStr,
+			String quickUploadFolder = constructResponseUrl(fileType, currentFolderStr,
 			        request);
 			File file = new File(getServletContext().getRealPath(quickUploadFolder));
@@ -238,5 +238,5 @@
 			        "The current user isn't authorized for uploading files!");
 		} else {
-			String currentPath = constructTypeBasedFolderString(fileType, currentFolderStr, request);
+			String currentPath = constructResponseUrl(fileType, currentFolderStr, request);
 			File currentDirPath = new File(getServletContext().getRealPath(currentPath));
 
@@ -311,5 +311,5 @@
 	}
 
-	private String constructTypeBasedFolderString(final ResourceTypeHandler fileType,
+	private String constructResponseUrl(final ResourceTypeHandler fileType,
 	        final String currentFolderString, final HttpServletRequest request) {
 		StringBuffer sb = new StringBuffer();
@@ -323,11 +323,11 @@
 	/**
 	 * TODO document me
-	 * FIXME give me a more proper name
 	 * @param resourceType
 	 * @param request
 	 * @return
 	 */
-	private String constructSomething(final ResourceTypeHandler resourceType, final HttpServletRequest request) {
-		return constructTypeBasedFolderString(resourceType, null, request);
+	private String constructResourceTypeUrl(final ResourceTypeHandler resourceType,
+			final HttpServletRequest request) {
+		return constructResponseUrl(resourceType, null, request);
 	}
 
