Ignore:
Timestamp:
2013-06-26T22:23:54+02:00 (12 years ago)
Author:
donvip
Message:

[josm_pbf] Update to JOSM 6031

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/action/DownloadPbfTask.java

    r26961 r29708  
    1515//    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1616package org.openstreetmap.josm.plugins.pbf.action;
     17
     18import static org.openstreetmap.josm.tools.I18n.tr;
    1719
    1820import java.util.concurrent.Future;
     
    4345        }
    4446
    45         @Override
    46         public boolean acceptsUrl(String url) {
    47                 return url != null && url.endsWith(EXTENSION);
    48         }
     47    @Override
     48    public String[] getPatterns() {
     49        return new String[]{".*\\."+EXTENSION};
     50    }
     51
     52    @Override
     53    public String getTitle() {
     54        return tr("Download PBF");
     55    }
    4956}
Note: See TracChangeset for help on using the changeset viewer.