Changeset 30347 in osm for applications/editors/josm/plugins/DirectUpload/src/org
- Timestamp:
- 2014-03-24T21:50:31+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadOsmConnection.java
r24239 r30347 22 22 public class UploadOsmConnection extends OsmConnection { 23 23 24 // singleton, see http://en.wikipedia.org/wiki/Singleton_pattern#Traditional_simple_way25 24 // singleton, see https://en.wikipedia.org/wiki/Singleton_pattern#Traditional_simple_way 25 private static final UploadOsmConnection INSTANCE = new UploadOsmConnection(); 26 26 27 28 29 27 // Private constructor prevents instantiation from other classes 28 private UploadOsmConnection() { 29 } 30 30 31 32 33 31 public static UploadOsmConnection getInstance() { 32 return UploadOsmConnection.INSTANCE; 33 } 34 34 35 36 37 38 35 // make protected OsmConnection::addAuth() available to others 36 public void addAuthHack(HttpURLConnection connection) throws OsmTransferException { 37 addAuth(connection); 38 } 39 39 40 40 /**
Note:
See TracChangeset
for help on using the changeset viewer.