Ignore:
Timestamp:
2011-08-11T00:26:21+02:00 (13 years ago)
Author:
stoecker
Message:

fix #6680, fix #6677 - i18n issues

File:
1 edited

Legend:

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

    r3083 r4310  
    4747public class HistoryLoadTask extends PleaseWaitRunnable {
    4848
    49     private boolean cancelled = false;
     49    private boolean canceled = false;
    5050    private Exception lastException  = null;
    5151    private HashSet<PrimitiveId> toLoad;
     
    160160    protected void cancel() {
    161161        OsmApi.getOsmApi().cancel();
    162         cancelled = true;
     162        canceled = true;
    163163    }
    164164
    165165    @Override
    166166    protected void finish() {
    167         if (isCancelled())
     167        if (isCanceled())
    168168            return;
    169169        if (lastException != null) {
     
    179179        try {
    180180            for(PrimitiveId pid: toLoad) {
    181                 if (cancelled) {
     181                if (canceled) {
    182182                    break;
    183183                }
     
    196196                    ds = reader.parseHistory(progressMonitor.createSubTaskMonitor(1, false));
    197197                } catch(OsmTransferException e) {
    198                     if (cancelled)
     198                    if (canceled)
    199199                        return;
    200200                    throw e;
     
    208208    }
    209209
    210     public boolean isCancelled() {
    211         return cancelled;
     210    public boolean isCanceled() {
     211        return canceled;
    212212    }
    213213
Note: See TracChangeset for help on using the changeset viewer.