Changeset 9173 in josm
- Timestamp:
- 2015-12-26T23:42:05+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
r9152 r9173 68 68 */ 69 69 protected SessionSaveAsAction(boolean toolbar, boolean installAdapters) { 70 super(tr("Save Session As..."), "session", tr("Save the current session to a new file."), null, toolbar, "save_as-session", installAdapters); 70 super(tr("Save Session As..."), "session", tr("Save the current session to a new file."), 71 null, toolbar, "save_as-session", installAdapters); 71 72 putValue("help", ht("/Action/SessionSaveAs")); 72 73 } -
trunk/src/org/openstreetmap/josm/data/oauth/SignpostAdapters.java
r9172 r9173 14 14 * Adapters to make {@link oauth.signpost} work with {@link HttpClient}. 15 15 */ 16 public class SignpostAdapters { 16 public final class SignpostAdapters { 17 17 18 18 private SignpostAdapters() { … … 58 58 private final HttpClient request; 59 59 60 publicHttpRequest(HttpClient request) {60 HttpRequest(HttpClient request) { 61 61 this.request = request; 62 62 } … … 111 111 private final HttpClient.Response response; 112 112 113 publicHttpResponse(HttpClient.Response response) {113 HttpResponse(HttpClient.Response response) { 114 114 this.response = response; 115 115 } -
trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java
r9152 r9173 371 371 class SaveSessionAction extends SessionSaveAsAction { 372 372 373 publicSaveSessionAction() {373 SaveSessionAction() { 374 374 super(false, false); 375 375 } -
trunk/src/org/openstreetmap/josm/tools/HttpClient.java
r9172 r9173 27 27 * Provides a uniform access for a HTTP/HTTPS server. This class should be used in favour of {@link HttpURLConnection}. 28 28 */ 29 public class HttpClient { 29 public final class HttpClient { 30 30 31 31 private URL url; … … 121 121 * A wrapper for the HTTP response. 122 122 */ 123 public static class Response { 123 public static final class Response { 124 124 private final HttpURLConnection connection; 125 125 private final int responseCode; … … 213 213 * Fetches the HTTP response as String. 214 214 * @return the response 215 * @throws IOException216 215 */ 217 216 public String fetchContent() throws IOException { … … 352 351 * Sets whether not to set header {@code Connection=close} 353 352 * <p/> 354 * This might fix #7640, see <a href='https://web.archive.org/web/20140118201501/http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive'>here</a>. 353 * This might fix #7640, see 354 * <a href='https://web.archive.org/web/20140118201501/http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive'>here</a>. 355 355 * 356 356 * @param keepAlive whether not to set header {@code Connection=close}
Note:
See TracChangeset
for help on using the changeset viewer.