Last change
on this file since 4932 was 4674, checked in by simon04, 12 years ago |
fix #7172 - CT isn't always loaded by the History window when looking at an items history
|
File size:
627 bytes
|
Line | |
---|
1 | package org.openstreetmap.josm.gui.progress;
|
---|
2 |
|
---|
3 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
4 |
|
---|
5 | import org.openstreetmap.josm.data.osm.User;
|
---|
6 | import org.openstreetmap.josm.gui.PleaseWaitRunnable;
|
---|
7 |
|
---|
8 | public class ContributorTermsUpdateRunnable extends PleaseWaitRunnable {
|
---|
9 |
|
---|
10 | public ContributorTermsUpdateRunnable() {
|
---|
11 | super(tr("Updating CT user information"));
|
---|
12 | }
|
---|
13 |
|
---|
14 | @Override
|
---|
15 | protected void cancel() {
|
---|
16 | }
|
---|
17 |
|
---|
18 | @Override
|
---|
19 | protected void realRun() {
|
---|
20 | progressMonitor.indeterminateSubTask(null);
|
---|
21 | User.initRelicensingInformation();
|
---|
22 | }
|
---|
23 |
|
---|
24 | @Override
|
---|
25 | protected void finish() {
|
---|
26 | }
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.