Index: applications/editors/josm/plugins/pbf/build.xml
===================================================================
--- applications/editors/josm/plugins/pbf/build.xml	(revision 29620)
+++ applications/editors/josm/plugins/pbf/build.xml	(revision 29708)
@@ -1,31 +1,3 @@
 ﻿<?xml version="1.0" encoding="utf-8"?>
-<!--
-** This is a template build file for the PBF plugin.
-**
-** Maintaining versions
-** ====================
-** see README.template
-**
-** Usage
-** =====
-** To build it run
-**
-**    > ant  dist
-**
-** To install the generated plugin locally (in you default plugin directory) run
-**
-**    > ant  install
-**
-** The generated plugin jar is not automatically available in JOSMs plugin configuration
-** dialog. You have to check it in first.
-**
-** Use the ant target 'publish' to check in the plugin and make it available to other
-** JOSM users:
-**    set the properties commit.message and plugin.main.version
-** and run
-**    > ant  publish
-**
-**
--->
 <project name="pbf" default="dist" basedir=".">
 
@@ -33,5 +5,5 @@
     <property name="commit.message" value="Commit message"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="4687"/>
+    <property name="plugin.main.version" value="6031"/>
 
     <!-- Configure these properties (replace "..." accordingly).
Index: applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/action/DownloadPbfTask.java
===================================================================
--- applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/action/DownloadPbfTask.java	(revision 29620)
+++ applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/action/DownloadPbfTask.java	(revision 29708)
@@ -15,4 +15,6 @@
 //    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 package org.openstreetmap.josm.plugins.pbf.action;
+
+import static org.openstreetmap.josm.tools.I18n.tr;
 
 import java.util.concurrent.Future;
@@ -43,7 +45,12 @@
 	}
 
-	@Override
-	public boolean acceptsUrl(String url) {
-		return url != null && url.endsWith(EXTENSION);
-	}
+    @Override
+    public String[] getPatterns() {
+        return new String[]{".*\\."+EXTENSION};
+    }
+
+    @Override
+    public String getTitle() {
+        return tr("Download PBF");
+    }
 }
