Changeset 9173 in josm for trunk


Ignore:
Timestamp:
2015-12-26T23:42:05+01:00 (8 years ago)
Author:
simon04
Message:

Checkstyle

Location:
trunk/src/org/openstreetmap/josm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java

    r9152 r9173  
    6868     */
    6969    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);
    7172        putValue("help", ht("/Action/SessionSaveAs"));
    7273    }
  • trunk/src/org/openstreetmap/josm/data/oauth/SignpostAdapters.java

    r9172 r9173  
    1414 * Adapters to make {@link oauth.signpost} work with {@link HttpClient}.
    1515 */
    16 public class SignpostAdapters {
     16public final class SignpostAdapters {
    1717
    1818    private SignpostAdapters() {
     
    5858        private final HttpClient request;
    5959
    60         public HttpRequest(HttpClient request) {
     60        HttpRequest(HttpClient request) {
    6161            this.request = request;
    6262        }
     
    111111        private final HttpClient.Response response;
    112112
    113         public HttpResponse(HttpClient.Response response) {
     113        HttpResponse(HttpClient.Response response) {
    114114            this.response = response;
    115115        }
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java

    r9152 r9173  
    371371    class SaveSessionAction extends SessionSaveAsAction {
    372372
    373         public SaveSessionAction() {
     373        SaveSessionAction() {
    374374            super(false, false);
    375375        }
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r9172 r9173  
    2727 * Provides a uniform access for a HTTP/HTTPS server. This class should be used in favour of {@link HttpURLConnection}.
    2828 */
    29 public class HttpClient {
     29public final class HttpClient {
    3030
    3131    private URL url;
     
    121121     * A wrapper for the HTTP response.
    122122     */
    123     public static class Response {
     123    public static final class Response {
    124124        private final HttpURLConnection connection;
    125125        private final int responseCode;
     
    213213         * Fetches the HTTP response as String.
    214214         * @return the response
    215          * @throws IOException
    216215         */
    217216        public String fetchContent() throws IOException {
     
    352351     * Sets whether not to set header {@code Connection=close}
    353352     * <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>.
    355355     *
    356356     * @param keepAlive whether not to set header {@code Connection=close}
Note: See TracChangeset for help on using the changeset viewer.