Index: /trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java	(revision 12452)
@@ -37,4 +37,9 @@
 import org.openstreetmap.josm.tools.date.DateUtils;
 
+/**
+ * Abstract base class for the task of uploading primitives via OSM API.
+ *
+ * Mainly handles conflicts and certain error situations.
+ */
 public abstract class AbstractUploadTask extends PleaseWaitRunnable {
 
Index: /trunk/src/org/openstreetmap/josm/gui/io/ConfigurationParameterRequestHandler.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/ConfigurationParameterRequestHandler.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/ConfigurationParameterRequestHandler.java	(revision 12452)
@@ -2,7 +2,18 @@
 package org.openstreetmap.josm.gui.io;
 
+/**
+ * Handler, that will take action when the user clicks one of two hyperlinks
+ * in the upload dialog.
+ */
 public interface ConfigurationParameterRequestHandler {
+    /**
+     * Handle the event when user clicks the "configure changeset" hyperlink.
+     */
     void handleChangesetConfigurationRequest();
 
+    /**
+     * Handle the event when user clicks the "advanced configuration" hyperlink.
+     * The advanced configuration tab contains upload strategy parameters.
+     */
     void handleUploadStrategyConfigurationRequest();
 }
Index: /trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java	(revision 12452)
@@ -41,4 +41,10 @@
 import org.openstreetmap.josm.tools.WindowGeometry;
 
+/**
+ * Dialog box to request username and password from the user.
+ *
+ * The credentials can be for the OSM API (basic authentication), a different
+ * host or an HTTP proxy.
+ */
 public class CredentialDialog extends JDialog {
 
Index: /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java	(revision 12452)
@@ -59,4 +59,10 @@
 import org.openstreetmap.josm.tools.WindowGeometry;
 
+/**
+ * Dialog that pops up when the user closes a layer with modified data.
+ *
+ * It asks for confirmation that all modification should be discarded and offers
+ * to save the layers to file or upload to server, depending on the type of layer.
+ */
 public class SaveLayersDialog extends JDialog implements TableModelListener {
 
Index: /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersModel.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersModel.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersModel.java	(revision 12452)
@@ -14,4 +14,7 @@
 import org.openstreetmap.josm.gui.layer.OsmDataLayer;
 
+/**
+ * Table model for the {@link SaveLayersTable} in the {@link SaveLayersDialog}.
+ */
 public class SaveLayersModel extends DefaultTableModel {
     public static final String MODE_PROP = SaveLayerInfo.class.getName() + ".mode";
Index: /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTable.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTable.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTable.java	(revision 12452)
@@ -10,4 +10,7 @@
 import org.openstreetmap.josm.gui.io.SaveLayersModel.Mode;
 
+/**
+ * A table that displays the list of modified layers in the {@link SaveLayersDialog}.
+ */
 class SaveLayersTable extends JTable implements PropertyChangeListener {
     SaveLayersTable(SaveLayersModel model) {
Index: /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java	(revision 12452)
@@ -18,4 +18,7 @@
 import org.openstreetmap.josm.tools.Utils;
 
+/**
+ * Table column model for the {@link SaveLayersTable} in the {@link SaveLayersDialog}.
+ */
 class SaveLayersTableColumnModel extends DefaultTableColumnModel {
     /** small renderer class that handles the "should be uploaded/saved" texts. */
Index: /trunk/src/org/openstreetmap/josm/gui/io/UploadAndSaveProgressRenderer.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/UploadAndSaveProgressRenderer.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/UploadAndSaveProgressRenderer.java	(revision 12452)
@@ -15,4 +15,7 @@
 import org.openstreetmap.josm.gui.progress.ProgressRenderer;
 
+/**
+ * A {@link ProgressRenderer} used for upload/save action in the {@link SaveLayersDialog}.
+ */
 class UploadAndSaveProgressRenderer extends JPanel implements ProgressRenderer, PropertyChangeListener {
 
Index: /trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java	(revision 12451)
+++ /trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java	(revision 12452)
@@ -214,5 +214,4 @@
         );
 
-
         // users can click on either of two links in the upload parameter
         // summary handler. This installs the handler for these two events.
