Ignore:
Timestamp:
2014-03-24T21:50:31+01:00 (11 years ago)
Author:
donvip
Message:

[josm_directupload] code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadOsmConnection.java

    r24239 r30347  
    2222public class UploadOsmConnection extends OsmConnection {
    2323
    24         // singleton, see http://en.wikipedia.org/wiki/Singleton_pattern#Traditional_simple_way
    25         private static final UploadOsmConnection INSTANCE = new UploadOsmConnection();
     24    // singleton, see https://en.wikipedia.org/wiki/Singleton_pattern#Traditional_simple_way
     25    private static final UploadOsmConnection INSTANCE = new UploadOsmConnection();
    2626
    27         // Private constructor prevents instantiation from other classes
    28         private UploadOsmConnection() {
    29         }
     27    // Private constructor prevents instantiation from other classes
     28    private UploadOsmConnection() {
     29    }
    3030
    31         public static UploadOsmConnection getInstance() {
    32                 return UploadOsmConnection.INSTANCE;
    33         }
     31    public static UploadOsmConnection getInstance() {
     32        return UploadOsmConnection.INSTANCE;
     33    }
    3434
    35         // make protected OsmConnection::addAuth() available to others
    36         public void addAuthHack(HttpURLConnection connection) throws OsmTransferException {
    37                 addAuth(connection);
    38         }
     35    // make protected OsmConnection::addAuth() available to others
     36    public void addAuthHack(HttpURLConnection connection) throws OsmTransferException {
     37        addAuth(connection);
     38    }
    3939
    4040    /**
Note: See TracChangeset for help on using the changeset viewer.