Index: applications/editors/josm/plugins/openstreetbugs/build.xml
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/build.xml	(revision 29853)
+++ applications/editors/josm/plugins/openstreetbugs/build.xml	(revision 29854)
@@ -1,36 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!--
-** This is the build file for the openstreetbugs plugin
-**
-** Maintaining versions
-** ====================
-** see README.template
-**
-** Usage
-** =====
-** To build it run
-**
-**    > ant  dist
-**
-** To install the generated plugin locally (in your default plugin directory) run
-**
-**    > ant  install
-**
-** To build against the core in ../../core, create a correct manifest and deploy to
-** SVN,
-**    set the properties commit.message and plugin.main.version
-** and run
-**    > ant  publish
-**
-**
--->
 <project name="openstreetbugs" default="dist" basedir=".">
     <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
-    <property name="plugin.main.version" value="4980"/>
+    <property name="plugin.main.version" value="6162"/>
     <property name="josm" location="../../core/dist/josm-custom.jar"/>
     <property name="plugin.dist.dir" value="../../dist"/>
     <property name="plugin.build.dir" value="build"/>
     <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
-    <property name="ant.build.javac.target" value="1.5"/>
+    <property name="ant.build.javac.target" value="1.6"/>
     <target name="init">
         <mkdir dir="${plugin.build.dir}"/>
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java	(revision 29853)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java	(revision 29854)
@@ -30,8 +30,8 @@
 import static org.openstreetmap.josm.tools.I18n.tr;
 
-import java.awt.geom.Point2D;
 import java.util.concurrent.TimeUnit;
 
 import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.data.coor.EastNorth;
 
 public class OsbDownloadLoop extends Thread {
@@ -47,5 +47,5 @@
     private OsbPlugin plugin;
 
-    private Point2D lastCenter;
+    private EastNorth lastCenter;
 
     public OsbDownloadLoop() {
@@ -70,5 +70,5 @@
                 // zoomed the map
                 if(Main.map != null && Main.map.mapView != null) {
-                    Point2D currentCenter = Main.map.mapView.getCenter();
+                    EastNorth currentCenter = Main.map.mapView.getCenter();
                     if(currentCenter != null && !currentCenter.equals(lastCenter)) {
                         resetCountdown();
