diff --git a/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java b/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
index b15518546..30ae2ebf4 100644
|
a
|
b
|
|
| 74 | 74 | |
| 75 | 75 | protected JPanel buildUploadCommentPanel() { |
| 76 | 76 | JPanel pnl = new JPanel(new GridBagLayout()); |
| | 77 | pnl.setBorder(BorderFactory.createTitledBorder(tr("Tags of changeset {0}", ""))); |
| 77 | 78 | |
| 78 | 79 | JEditorPane commentLabel = new JMultilineLabel("<html><b>" + tr("Provide a brief comment for the changes you are uploading:")); |
| 79 | 80 | pnl.add(commentLabel, GBC.eol().insets(0, 5, 10, 3).fill(GBC.HORIZONTAL)); |
diff --git a/src/org/openstreetmap/josm/gui/io/UploadDialog.java b/src/org/openstreetmap/josm/gui/io/UploadDialog.java
index f77c5cd2b..224902ba6 100644
|
a
|
b
|
public UploadDialog() {
|
| 116 | 116 | * @return the unique instance of the upload dialog |
| 117 | 117 | */ |
| 118 | 118 | public static synchronized UploadDialog getUploadDialog() { |
| 119 | | if (uploadDialog == null) { |
| | 119 | if (1==1||uploadDialog == null) { |
| 120 | 120 | uploadDialog = new UploadDialog(); |
| 121 | 121 | } |
| 122 | 122 | return uploadDialog; |
diff --git a/src/org/openstreetmap/josm/gui/io/UploadParameterSummaryPanel.java b/src/org/openstreetmap/josm/gui/io/UploadParameterSummaryPanel.java
index fad13e0ff..e1b0d93b8 100644
|
a
|
b
|
public void setCloseChangesetAfterNextUpload(boolean value) {
|
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | protected void updateSummary() { |
| 165 | | jepMessage.setText("<html>" |
| 166 | | + buildStrategySummary() |
| 167 | | + "<br>" |
| 168 | | + Optional.of(OsmApi.getOsmApi().getServerUrl()) |
| | 165 | final String server = Optional.of(OsmApi.getOsmApi().getServerUrl()) |
| 169 | 166 | .filter(url -> !Config.getUrls().getDefaultOsmApiUrl().equals(url)) |
| 170 | 167 | .map(url -> tr("… to server: <strong>{0}</strong>", url)) |
| 171 | | .orElse("") |
| 172 | | + "<br><br>" |
| | 168 | .orElse(""); |
| | 169 | jepMessage.setText("<html>" |
| | 170 | + "<br>" |
| 173 | 171 | + buildChangesetSummary() |
| | 172 | + "<br><br>" |
| | 173 | + buildStrategySummary() |
| | 174 | + "<br>" |
| | 175 | + server |
| 174 | 176 | + "</html>"); |
| 175 | 177 | } |
| 176 | 178 | |