Ignore:
Timestamp:
2015-10-13T23:50:14+02:00 (4 years ago)
Author:
Don-vip
Message:

sonar - squid:S2325 - "private" methods that don't access instance data should be "static"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java

    r8855 r8870  
    788788        }
    789789
    790         private User getCurrentUser() {
     790        private static User getCurrentUser() {
    791791            UserInfo info = JosmUserIdentityManager.getInstance().getUserInfo();
    792792            return info == null ? User.getAnonymous() : User.createOsmUser(info.getId(), info.getDisplayName());
Note: See TracChangeset for help on using the changeset viewer.