- Timestamp:
- 2011-04-15T21:25:08+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/User.java
r4025 r4026 110 110 } 111 111 112 public static void loadRelicensingInformation() { 112 public static void initRelicensingInformation() { 113 if(relicensingUsers == null) { 114 loadRelicensingInformation(false); 115 } 116 } 117 118 public static void loadRelicensingInformation(boolean clean) { 113 119 relicensingUsers = new HashSet<Long>(); 114 120 try { 115 121 MirroredInputStream stream = new MirroredInputStream(Main.pref.get("url.licensechange", 116 "http://planet.openstreetmap.org/users_agreed/users_agreed.txt"), 7200);122 "http://planet.openstreetmap.org/users_agreed/users_agreed.txt"), clean ? 1 : 7200); 117 123 try { 118 124 InputStreamReader r; -
trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java
r3995 r4026 169 169 public void showDialog() { 170 170 super.showDialog(); 171 User.initRelicensingInformation(); 171 172 Layer layer = Main.main.getActiveLayer(); 172 173 if (layer instanceof OsmDataLayer) { … … 278 279 @Override 279 280 public void actionPerformed(ActionEvent e) { 280 User.loadRelicensingInformation( );281 User.loadRelicensingInformation(true); 281 282 Layer layer = Main.main.getActiveLayer(); 282 283 if (layer instanceof OsmDataLayer) {
Note:
See TracChangeset
for help on using the changeset viewer.