Ignore:
Timestamp:
2009-09-06T23:07:33+02:00 (17 years ago)
Author:
Gubaer
Message:

new: rewrite of CombineWay action
new: conflict resolution dialog for CombineWay, including conflicts for different relation memberships
cleanup: cleanup in OsmReader, reduces memory footprint and reduces parsing time
cleanup: made most of the public fields in OsmPrimitive @deprecated, added accessors and changed the code
cleanup: replaced usages of @deprecated constructors for ExtendedDialog
fixed #3208: Combine ways brokes relation order

WARNING: this changeset touches a lot of code all over the code base. "latest" might become slightly unstable in the next days. Also experience incompatibility issues with plugins in the next few days.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java

    r2042 r2070  
    201201            User user = (User)infoObject;
    202202            try {
    203                 return getBaseUserUrl() + "/" + URLEncoder.encode(user.name, "UTF-8");
     203                return getBaseUserUrl() + "/" + URLEncoder.encode(user.getName(), "UTF-8");
    204204            } catch(UnsupportedEncodingException e) {
    205205                e.printStackTrace();
     
    251251            if (count < o.count) return 1;
    252252            if (count > o.count) return -1;
    253             if (user== null || user.name == null) return 1;
    254             if (o.user == null || o.user.name == null) return -1;
    255             return user.name.compareTo(o.user.name);
     253            if (user== null || user.getName() == null) return 1;
     254            if (o.user == null || o.user.getName() == null) return -1;
     255            return user.getName().compareTo(o.user.getName());
    256256        }
    257257
    258258        public String getName() {
    259259            if (user == null) return null;
    260             return user.name;
     260            return user.getName();
    261261        }
    262262    }
Note: See TracChangeset for help on using the changeset viewer.