Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditor.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditor.java	(revision 3430)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditor.java	(revision 3431)
@@ -294,6 +294,10 @@
 
 	/**
-	 * TODO document me
-	 * Creates the HTML representation of this editor instance.
+	 * Creates the HTML representation of this editor instance. First of all,
+	 * this method determines whether the request browser is supported.
+	 * According to the result an appropriate HTML representation is assembled
+	 * and returned.
+	 * 
+	 * @return HTML representation of this editor instance
 	 */
 	@Override
@@ -304,5 +308,5 @@
 		String encodedValue = escapeXml(value);
 
-		if (Compatibility.check(request.getHeader("user-agent"))) {
+		if (Compatibility.isCompatibleBrowser(request)) {
 			strEditor.append(createInputForVariable(instanceName, instanceName,
 					encodedValue));
@@ -315,13 +319,15 @@
 
 			// create IFrame
-			String sLink = request.getContextPath().concat(
-					basePath.concat("/editor/fckeditor.html?InstanceName=")
-							.concat(instanceName));
+			StringBuffer editorLink = new StringBuffer(request.getContextPath());
+			editorLink.append(basePath);
+			editorLink.append("/editor/fckeditor.html?InstanceName=").append(
+					instanceName);
 			if (Utils.isNotEmpty(toolbarSet))
-				sLink += "&amp;Toolbar=".concat(toolbarSet);
+				editorLink.append("&amp;Toolbar=").append(toolbarSet);
+			
 			XHtmlTagTool iframeTag = new XHtmlTagTool("iframe",
 					XHtmlTagTool.SPACE);
 			iframeTag.addAttribute("id", instanceName.concat("___Frame"));
-			iframeTag.addAttribute("src", sLink);
+			iframeTag.addAttribute("src", editorLink.toString());
 			iframeTag.addAttribute("width", width);
 			iframeTag.addAttribute("height", height);
@@ -345,6 +351,8 @@
 
 	/**
-	 * TODO document me
-	 * Wraps to {@link #toString()}.
+	 * Creates the HTML representation of this editor instance.
+	 * 
+	 * @see #toString()
+	 * @return HTML representation of this editor instance
 	 */
 	public String createHtml() {
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/LocalizedMessages.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/LocalizedMessages.java	(revision 3430)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/LocalizedMessages.java	(revision 3431)
@@ -40,7 +40,5 @@
 
 /**
- * TODO document me
  * Provides access to localized messages (properties).
- * 
  * <p>
  * Localized messages are loaded for a particular locale from a HTTP request.
@@ -60,4 +58,5 @@
 public class LocalizedMessages {
 
+	// TODO do we need to synchronize this map?
 	private static final Map<Locale, LocalizedMessages> prototypes = new HashMap<Locale, LocalizedMessages>();
 	private static final String DEFAULT_FILENAME = "default_messages.properties"; //$NON-NLS-1$
@@ -95,13 +94,14 @@
 
 	/**
-	 * Returns an instance of this class for the a locale from the given
-	 * request.<br />
-	 * This method is fail save, either a null request or locale will be safely
-	 * served with the default messages.
+	 * Creates a new instance of <code>LocalizedMessages</code> for a given
+	 * request. This method automatically determines the locale of this request
+	 * and loads the appropriate bundle. If either one if null or not available,
+	 * the default bundle will be used.
 	 * 
 	 * @param request
 	 *            the current request instance
-	 * @return an instance with localized strings.
-	 */
+	 * @return instance with localized messages
+	 */
+	// TODO maybe align name to getInstance?
 	public static LocalizedMessages getMessages(HttpServletRequest request) {
 
@@ -129,5 +129,8 @@
 
 	/**
-	 * Returns a locale resolver instance.
+	 * Returns the locale resolver instance. The implementation class name is
+	 * provided by {@link PropertiesLoader#getLocaleResolverImpl()}.
+	 * 
+	 * @return the locale resolver instance
 	 */
 	private static LocaleResolver getLocaleResolverInstance() {
@@ -153,9 +156,12 @@
 
 	/**
-	 * Loads the default strings and the string for the given locale and only
-	 * for this locale.
+	 * Loads the localized messages for the given locale. This constructor loads
+	 * the resource bundle for this locale and only for this, in other words it
+	 * shortcircuits the default resource bundle load mechanism in order to
+	 * prevent the loading of the system default locale which may result in a
+	 * completely different resource bundle.
 	 * 
 	 * @param locale
-	 *            given locale
+	 *            the locale of the new localized messages
 	 */
 	private LocalizedMessages(Locale locale) {
@@ -206,180 +212,107 @@
 	}
 
-	private String getString(String key) {
+	/**
+	 * Searches for the message with the specified key in this message list.
+	 * 
+	 * @see Properties#getProperty(String)
+	 */
+	private String getMessage(String key) {
 		return properties.getProperty(key);
 	}
 
-	/**
-	 * Returns localized <code>editor.compatibleBrowser.yes</code> property.
-	 * 
-	 * @return localized message
-	 */
+	/** Returns localized <code>editor.compatibleBrowser.yes</code> property. */
 	public String getCompatibleBrowserYes() {
-		return getString("editor.compatibleBrowser.yes"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>editor.compatibleBrowser.no</code> property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("editor.compatibleBrowser.yes"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>editor.compatibleBrowser.no</code> property. */
 	public String getCompatibleBrowserNo() {
-		return getString("editor.compatibleBrowser.no"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.fileUpload.enabled</code> property
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("editor.compatibleBrowser.no"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.fileUpload.enabled</code> property. */
 	public String getFileUploadEnabled() {
-		return getString("connector.fileUpload.enabled"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.fileUpload.disabled</code> property
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.fileUpload.enabled"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.fileUpload.disabled</code> property. */
 	public String getFileUploadDisabled() {
-		return getString("connector.fileUpload.disabled"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.file_renamed_warning</code> property
+		return getMessage("connector.fileUpload.disabled"); //$NON-NLS-1$
+	}
+
+	/**
+	 * Returns localized <code>connector.file_renamed_warning</code> property.
 	 * 
 	 * @param newFileName
-	 *            the new filename
-	 * @return localized message
+	 *            the new filename of the warning
+	 * @return localized message with new filename
 	 */
 	public String getFileRenamedWarning(String newFileName) {
-		return MessageFormat
-				.format(
-						getString("connector.fileUpload.file_renamed_warning"), newFileName); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized
-	 * <code>connector.fileUpload.invalid_file_type_specified</code> property
-	 * 
-	 * @return localized message
-	 */
+		return MessageFormat.format(getMessage("connector.fileUpload.file_renamed_warning"), newFileName); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.fileUpload.invalid_file_type_specified</code> property. */
 	public String getInvalidFileTypeSpecified() {
-		return getString("connector.fileUpload.invalid_file_type_specified"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.fileUpload.write_error</code> property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.fileUpload.invalid_file_type_specified"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.fileUpload.write_error</code> property. */
 	public String getFileUploadWriteError() {
-		return getString("connector.fileUpload.write_error"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.getResources.enabled</code> property
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.fileUpload.write_error"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.getResources.enabled</code> property. */
 	public String getGetResourcesEnabled() {
-		return getString("connector.getResources.enabled"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.getResources.disabled</code> property
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.getResources.enabled"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.getResources.disabled</code> property. */
 	public String getGetResourcesDisabled() {
-		return getString("connector.getResources.disabled"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.getResources.read_error</code> property
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.getResources.disabled"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.getResources.read_error</code> property. */
 	public String getGetResourcesReadError() {
-		return getString("connector.getResources.read_error"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.createFolder.enabled</code> property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.getResources.read_error"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.createFolder.enabled</code> property. */
 	public String getCreateFolderEnabled() {
-		return getString("connector.createFolder.enabled"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.createFolder.disabled</code> property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.createFolder.enabled"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.createFolder.disabled</code> property. */
 	public String getCreateFolderDisabled() {
-		return getString("connector.createFolder.disabled"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.invalid_command_specified</code>
-	 * property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.createFolder.disabled"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.invalid_command_specified</code> property. */
 	public String getInvalidCommandSpecified() {
-		return getString("connector.invalid_command_specified"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized
-	 * <code>connector.createFolder.folder_already_exists_error</code> property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.invalid_command_specified"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.createFolder.folder_already_exists_error</code> property. */
 	public String getFolderAlreadyExistsError() {
-		return getString("connector.createFolder.folder_already_exists_error"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized
-	 * <code>connector.createFolder.invalid_new_folder_name_specified</code>
-	 * property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.createFolder.folder_already_exists_error"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.createFolder.invalid_new_folder_name_specified</code> property. */
 	public String getInvalidNewFolderNameSpecified() {
-		return getString("connector.createFolder.invalid_new_folder_name_specified"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.createFolder.write_error</code>
-	 * property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.createFolder.invalid_new_folder_name_specified"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.createFolder.write_error</code> property. */
 	public String getCreateFolderWriteError() {
-		return getString("connector.createFolder.write_error"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.invalid_resource_type_specified</code>
-	 * property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.createFolder.write_error"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.invalid_resource_type_specified</code> property. */
 	public String getInvalidResouceTypeSpecified() {
-		return getString("connector.invalid_resource_type_specified"); //$NON-NLS-1$
-	}
-
-	/**
-	 * Returns localized <code>connector.invalid_current_folder_specified</code>
-	 * property.
-	 * 
-	 * @return localized message
-	 */
+		return getMessage("connector.invalid_resource_type_specified"); //$NON-NLS-1$
+	}
+
+	/** Returns localized <code>connector.invalid_current_folder_specified</code> property. */
 	public String getInvalidCurrentFolderSpecified() {
-		return getString("connector.invalid_current_folder_specified"); //$NON-NLS-1$
+		return getMessage("connector.invalid_current_folder_specified"); //$NON-NLS-1$
 	}
 
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/ResourceType.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/ResourceType.java	(revision 3430)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/ResourceType.java	(revision 3431)
@@ -139,5 +139,5 @@
 
 	/**
-	 * Returns the absolute path of the resource type. This path is absolute to
+	 * Returns the absolute path of this resource type. This path is absolute to
 	 * the userfiles path. To set this path, see the <a
 	 * href="http://java.fckeditor.net/properties.html">configuration</a>.
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/response/GetResponse.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/response/GetResponse.java	(revision 3430)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/response/GetResponse.java	(revision 3431)
@@ -45,5 +45,4 @@
 
 /**
- * TODO document me
  * Represents the XML response for the File Browser's <code>GET</code> request. <br />
  * The XML response is described <a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Server_Side_Integration#The_Commands"
@@ -54,7 +53,11 @@
 public class GetResponse {
 
+	/** Underlying DOM document */
 	protected Document document;
+	/** Error element, in case of an invalid request */
 	protected Element errorElement;
+	/** Folders element, in case of a <code>GetResources</code> request */
 	protected Element foldersElement;
+	/** Files element, in case of a <code>GetResources</code> request */
 	protected Element filesElement;
 
@@ -78,13 +81,12 @@
 
 	/**
-	 * 
 	 * Constructs a response with a specific error number and message.
 	 * 
 	 * @param number
-	 *            error number
+	 *            the error number of the new get response
 	 * @param message
-	 *            specific message
+	 *            the specific message of the new get response
 	 * @throws RuntimeException
-	 *             if creation of the underlying DOM object failed
+	 *             if creation of the underlying DOM document failed
 	 */
 	public GetResponse(int number, String message) {
@@ -108,13 +110,13 @@
 	 * 
 	 * @param command
-	 *            current command
+	 *            the current command of the new get response
 	 * @param resourceType
-	 *            current resource type
+	 *            the current resource type of the new get response
 	 * @param currentFolder
-	 *            current folder
+	 *            the current folder of the new get response
 	 * @param constructedUrl
-	 *            final url
+	 *            the final URL of the new get response
 	 * @throws RuntimeException
-	 *             if creation of the underlying DOM object failed
+	 *             if creation of the underlying DOM document failed
 	 */
 	public GetResponse(Command command, ResourceType resourceType,
@@ -132,5 +134,5 @@
 		Element root = document.createElement("Connector");
 		document.appendChild(root);
-		root.setAttribute("command", command.toString());
+		root.setAttribute("command", command.getName());
 		root.setAttribute("resourceType", resourceType.getName());
 
@@ -147,7 +149,7 @@
 	 * 
 	 * @param number
-	 *            error number
+	 *            the error number of the new get response
 	 * @throws RuntimeException
-	 *             if creation of the underlying DOM object failed
+	 *             if creation of the underlying DOM document failed
 	 */
 	public GetResponse(int number) {
@@ -156,10 +158,10 @@
 
 	/**
-	 * Sets an error number with a message.
+	 * Sets the error number and specific message of this get response.
 	 * 
 	 * @param number
-	 *            error number
+	 *            the error number of this get response
 	 * @param message
-	 *            specific message
+	 *            the specific message of this get response
 	 */
 	public void setError(int number, String message) {
@@ -177,8 +179,8 @@
 
 	/**
-	 * Sets an error number only.
+	 * Sets the error number of this get response.
 	 * 
 	 * @param number
-	 *            error number
+	 *            the error number of this get response
 	 */
 	public void setError(int number) {
@@ -187,8 +189,8 @@
 
 	/**
-	 * Sets folders associated with this response.
+	 * Sets the folders of this get response.
 	 * 
 	 * @param folders
-	 *            list with folder names
+	 *            the folders of this get response
 	 */
 	public void setFolders(final List<String> folders) {
@@ -209,9 +211,8 @@
 
 	/**
-	 * Sets files associated with this response.
+	 * Sets the folders of this get response.
 	 * 
 	 * @param files
-	 *            list with maps. Each map represents a file with its specific
-	 *            attributes.
+	 *            the files of this get response
 	 */
 	public void setFiles(final List<Map<String, Object>> files) {
@@ -240,8 +241,10 @@
 
 	/**
-	 * Transforms the underlying DOM object to an XML string.
+	 * Creates the XML representation of this get response. The underlying DOM
+	 * document will transformed to a string.
 	 * 
 	 * @throws RuntimeException
-	 *             if transformation failed
+	 *             if creation failed
+	 * @return XML representation of this get response
 	 */
 	@Override
@@ -266,14 +269,10 @@
 	}
 
-	/**
-	 * Creates an <code>OK</code> response.
-	 */
+	/** Creates an <code>OK</code> response. */
 	public static GetResponse getOK() {
 		return new GetResponse(EN_OK);
 	}
 
-	/**
-	 * Creates an <code>INVALID COMMAND</code> error.
-	 */
+	/** Creates an <code>INVALID COMMAND</code> error. */
 	public static GetResponse getInvalidCommandError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -282,7 +281,5 @@
 	}
 
-	/**
-	 * Creates an <code>INVALID RESOURCE TYPE</code> error.
-	 */
+	/** Creates an <code>INVALID RESOURCE TYPE</code> error. */
 	public static GetResponse getInvalidResourceTypeError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -292,7 +289,5 @@
 	}
 
-	/**
-	 * Creates an <code>INVALID CURRENT FOLDER</code> error.
-	 */
+	/** Creates an <code>INVALID CURRENT FOLDER</code> error. */
 	public static GetResponse getInvalidCurrentFolderError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -303,7 +298,5 @@
 
 	// TODO which EN to respond?
-	/**
-	 * Creates a <code>GET RESOURCES DISABLED</code> error.
-	 */
+	/** Creates a <code>GET RESOURCES DISABLED</code> error. */
 	public static GetResponse getGetResourcesDisabledError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -313,7 +306,5 @@
 
 	// TODO which EN to respond?
-	/**
-	 * Creates a <code>GET RESOURCES READ</code> error.
-	 */
+	/** Creates a <code>GET RESOURCES READ</code> error. */
 	public static GetResponse getGetResourcesReadError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -323,7 +314,5 @@
 
 	// TODO which EN to respond?
-	/**
-	 * Creates a <code>CREATE FOLDER DISABLED</code> error.
-	 */
+	/** Creates a <code>CREATE FOLDER DISABLED</code> error. */
 	public static GetResponse getCreateFolderDisabledError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -332,7 +321,5 @@
 	}
 
-	/**
-	 * Creates an <code>INVALID NEW FOLDER NAME</code> error.
-	 */
+	/** Creates an <code>INVALID NEW FOLDER NAME</code> error. */
 	public static GetResponse getInvalidNewFolderNameError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -342,7 +329,5 @@
 	}
 
-	/**
-	 * Creates a <code>FOLDER ALREADY EXISTS</code> error.
-	 */
+	/** Creates a <code>FOLDER ALREADY EXISTS</code> error. */
 	public static GetResponse getFolderAlreadyExistsError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -353,7 +338,5 @@
 
 	// TODO which EN to respond?
-	/**
-	 * Creates a <code>CREATE FOLDER WRITE</code> error.
-	 */
+	/** Creates a <code>CREATE FOLDER WRITE</code> error. */
 	public static GetResponse getCreateFolderWriteError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/response/UploadResponse.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/response/UploadResponse.java	(revision 3430)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/response/UploadResponse.java	(revision 3431)
@@ -26,5 +26,4 @@
 
 /**
- * TODO document me
  * Represents the HTML/JavaScript callback/response for the File Browser's
  * <code>POST</code> request.<br />
@@ -52,4 +51,5 @@
 public class UploadResponse {
 
+	/** JavaScript callback parameters */
 	protected Object[] parameters;
 
@@ -105,5 +105,5 @@
 
 	/**
-	 * Sets a custom message.
+	 * Sets the custom message of this upload response.
 	 * 
 	 * Methods automatically determines how many arguments are set and puts the
@@ -111,5 +111,5 @@
 	 * 
 	 * @param customMassage
-	 *            the message you want to respond to the user
+	 *            the custom message of this upload response
 	 */
 	public void setCustomMessage(final String customMassage) {
@@ -126,14 +126,10 @@
 	}
 
-	/**
-	 * Creates an <code>OK</code> response.
-	 */
+	/** Creates an <code>OK</code> response. */
 	public static UploadResponse getOK(String fileUrl) {
 		return new UploadResponse(EN_OK, fileUrl);
 	}
 
-	/**
-	 * Creates a <code>FILE RENAMED</code> warning.
-	 */
+	/** Creates a <code>FILE RENAMED</code> warning. */
 	public static UploadResponse getFileRenamedWarning(String fileUrl,
 			String newFileName) {
@@ -144,7 +140,5 @@
 	}
 
-	/**
-	 * Creates a <code>INVALID FILE TYPE</code> error.
-	 */
+	/** Creates a <code>INVALID FILE TYPE</code> error. */
 	public static UploadResponse getInvalidFileTypeError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -154,7 +148,5 @@
 	}
 
-	/**
-	 * Creates a <code>INVALID COMMAND</code> error.
-	 */
+	/** Creates a <code>INVALID COMMAND</code> error. */
 	public static UploadResponse getInvalidCommandError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -164,7 +156,5 @@
 	}
 
-	/**
-	 * Creates a <code>INVALID RESOURCE TYPE</code> error.
-	 */
+	/** Creates a <code>INVALID RESOURCE TYPE</code> error. */
 	public static UploadResponse getInvalidResourceTypeError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -174,7 +164,5 @@
 	}
 
-	/**
-	 * Creates a <code>INVALID CURRENT FOLDER</code> error.
-	 */
+	/** Creates a <code>INVALID CURRENT FOLDER</code> error. */
 	public static UploadResponse getInvalidCurrentFolderError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -184,7 +172,5 @@
 	}
 
-	/**
-	 * Creates a <code>FILE UPLOAD DISABLED</code> error.
-	 */
+	/** Creates a <code>FILE UPLOAD DISABLED</code> error. */
 	public static UploadResponse getFileUploadDisabledError() {
 		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
@@ -195,16 +181,16 @@
 
 	// TODO which EN to respond?
+	/** Creates a <code>FILE UPLOAD WRITE</code> error. */
+	public static UploadResponse getFileUploadWriteError() {
+		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
+				.getRequest());
+		return new UploadResponse(EN_CUSTOM_ERROR, null, null, lm
+				.getFileUploadWriteError());
+	}
+
 	/**
-	 * Creates a <code>FILE UPLOAD WRITE</code> error.
-	 */
-	public static UploadResponse getFileUploadWriteError() {
-		LocalizedMessages lm = LocalizedMessages.getMessages(ThreadLocalData
-				.getRequest());
-		return new UploadResponse(EN_CUSTOM_ERROR, null, null, lm
-				.getFileUploadWriteError());
-	}
-
-	/**
-	 * Assembles the JavaScript callback.
+	 * Creates the JavaScript representation/callback of this upload response.
+	 * 
+	 * @return JavaScript representation/callback of this upload response
 	 */
 	@Override
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/tool/XHtmlTagTool.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/tool/XHtmlTagTool.java	(revision 3430)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/tool/XHtmlTagTool.java	(revision 3431)
@@ -114,6 +114,8 @@
 
 	/**
-	 * TODO document me
-	 * Converts the tag to HTML.
+	 * Creates the HTML representation of this tag. It follows the XHTML
+	 * standard.
+	 * 
+	 * @return HTML representation of this tag
 	 */
 	@Override
