Index: applications/editors/josm/plugins/trustosm/build.xml
===================================================================
--- applications/editors/josm/plugins/trustosm/build.xml	(revision 35976)
+++ applications/editors/josm/plugins/trustosm/build.xml	(revision 35978)
@@ -5,5 +5,5 @@
     <property name="commit.message" value="trustosm: recompile for compatibility with JOSM r17896" />
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="17896"/>
+    <property name="plugin.main.version" value="18494"/>
     <property name="plugin.author" value="Christoph Wagner" />
     <property name="plugin.class" value="org.openstreetmap.josm.plugins.trustosm.TrustOSMplugin" />
Index: applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustAnalyzer.java
===================================================================
--- applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustAnalyzer.java	(revision 35976)
+++ applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustAnalyzer.java	(revision 35978)
@@ -95,5 +95,5 @@
         Node signedNode = TrustNode.generateNodeFromSigtext(signedPlaintext);
         Node currentNode = (Node) trust.getOsmPrimitive();
-        double dist = signedNode.getCoor().greatCircleDistance(currentNode.getCoor());
+        double dist = signedNode.greatCircleDistance(currentNode);
 
         /** is distance between signed Node and current Node inside tolerance? */
@@ -157,5 +157,5 @@
             Node signedNode = signedSegment.get(i);
             Node currentNode = nodes.get(i);
-            double dist = signedNode.getCoor().greatCircleDistance(currentNode.getCoor());
+            double dist = signedNode.greatCircleDistance(currentNode);
             if (dist > tolerance) return false;
         }
