Changeset 17836 in josm for trunk/src/org


Ignore:
Timestamp:
2021-04-30T21:52:43+02:00 (4 years ago)
Author:
simon04
Message:

NoteData: use UserIdentityManager.asUser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/NoteData.java

    r17712 r17836  
    255255
    256256    private static User getCurrentUser() {
    257         UserIdentityManager userMgr = UserIdentityManager.getInstance();
    258         return User.createOsmUser(userMgr.getUserId(), userMgr.getUserName());
     257        return UserIdentityManager.getInstance().asUser();
    259258    }
    260259
Note: See TracChangeset for help on using the changeset viewer.