Changeset 18299 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2021-10-31T22:36:43+01:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/ChangesetCache.java
r18283 r18299 4 4 import java.util.ArrayList; 5 5 import java.util.Collection; 6 import java.util.Collections; 6 7 import java.util.HashMap; 7 8 import java.util.HashSet; … … 274 275 reader = new OsmServerChangesetReader(); 275 276 } 276 List<Changeset> server = reader.queryChangesets(ChangesetQuery.forCurrentUser().beingOpen(true), null); 277 List<Changeset> server = UserIdentityManager.getInstance().isAnonymous() ? Collections.emptyList() : reader.queryChangesets(ChangesetQuery.forCurrentUser().beingOpen(true), null); 277 278 Logging.info("{0} open changesets on server", server.size()); 278 279 -
trunk/src/org/openstreetmap/josm/io/UploadStrategy.java
r13064 r18299 93 93 */ 94 94 public static void saveToPreferences(UploadStrategy strategy) { 95 Config.getPref().put("osm-server.upload-strategy", strategy.getPreferenceValue()); 95 Config.getPref().put("osm-server.upload-strategy", strategy != null ? strategy.getPreferenceValue() : null); 96 96 } 97 97 }
Note:
See TracChangeset
for help on using the changeset viewer.