Index: /trunk/src/org/openstreetmap/josm/Main.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/Main.java	(revision 6341)
+++ /trunk/src/org/openstreetmap/josm/Main.java	(revision 6342)
@@ -804,5 +804,6 @@
     /**
      * Closes JOSM and optionally terminates the Java Virtual Machine (JVM). If there are some unsaved data layers, asks first for user confirmation.
-     * @param exit If {@code true}, the JVM is terminated by running {@link System#exit} with a return code of 0.
+     * @param exit If {@code true}, the JVM is terminated by running {@link System#exit} with a given return code.
+     * @param exitCode The return code
      * @return {@code true} if JOSM has been closed, {@code false} if the user has cancelled the operation.
      * @since 3378
Index: /trunk/src/org/openstreetmap/josm/gui/preferences/ServerAccessPreference.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/preferences/ServerAccessPreference.java	(revision 6341)
+++ /trunk/src/org/openstreetmap/josm/gui/preferences/ServerAccessPreference.java	(revision 6342)
@@ -18,4 +18,5 @@
 import org.openstreetmap.josm.gui.preferences.server.ProxyPreferencesPanel;
 import org.openstreetmap.josm.gui.widgets.VerticallyScrollablePanel;
+
 public class ServerAccessPreference extends DefaultTabPreferenceSetting {
 
@@ -38,5 +39,4 @@
     /** panel for configuring proxy preferences */
     private ProxyPreferencesPanel pnlProxyPreferences;
-    /** panel for backup preferences */
 
     /**
Index: /trunk/src/org/openstreetmap/josm/gui/widgets/UrlLabel.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/widgets/UrlLabel.java	(revision 6341)
+++ /trunk/src/org/openstreetmap/josm/gui/widgets/UrlLabel.java	(revision 6342)
@@ -41,5 +41,5 @@
 
     public UrlLabel(String url, String description) {
-        this (url, url, 0);
+        this (url, description, 0);
     }
 
Index: /trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControl.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControl.java	(revision 6341)
+++ /trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControl.java	(revision 6342)
@@ -14,5 +14,5 @@
 {
     /**
-     * If the remote cotrol feature is enabled or disabled. If disabled,
+     * If the remote control feature is enabled or disabled. If disabled,
      * it should not start the server.
      */
@@ -49,6 +49,5 @@
      * @param handlerClass The additional request handler.
      */
-    public void addRequestHandler(String command, Class<? extends RequestHandler> handlerClass)
-    {
+    public void addRequestHandler(String command, Class<? extends RequestHandler> handlerClass) {
         RequestProcessor.addRequestHandlerClass(command, handlerClass);
     }
