Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/StyleCache.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/StyleCache.java	(revision 8415)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/StyleCache.java	(revision 8416)
@@ -11,5 +11,4 @@
 import org.openstreetmap.josm.data.osm.Storage;
 import org.openstreetmap.josm.tools.Pair;
-import org.openstreetmap.josm.tools.Utils;
 
 /**
@@ -165,5 +164,5 @@
             ++i;
         }
-        if (Utils.equalsEpsilon(bd.get(i), lower)) {
+        if (bd.get(i) == lower) {
             if (upper > bd.get(i+1))
                 throw new RangeViolatedError();
@@ -171,5 +170,5 @@
                 throw new AssertionError("the new range must be within a subrange that has no data");
 
-            if (Utils.equalsEpsilon(bd.get(i+1), upper)) {
+            if (bd.get(i+1) == upper) {
                 //  --|-------|--------|--
                 //   i-1      i       i+1
Index: /trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java	(revision 8415)
+++ /trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java	(revision 8416)
@@ -164,9 +164,7 @@
         boolean isInside(LatLon ll) {
             return bbox.getTopLeftLon() <= ll.lon() &&
-                    (ll.lon() < bbox.getBottomRightLon() ||
-                            (Utils.equalsEpsilon(ll.lon(), 180.0) && Utils.equalsEpsilon(bbox.getBottomRightLon(), 180.0))) &&
+                    (ll.lon() < bbox.getBottomRightLon() || (ll.lon() == 180.0 && bbox.getBottomRightLon() == 180.0)) &&
                     bbox.getBottomRightLat() <= ll.lat() &&
-                    (ll.lat() < bbox.getTopLeftLat() ||
-                            (Utils.equalsEpsilon(ll.lat(), 90.0) && Utils.equalsEpsilon(bbox.getTopLeftLat(), 90.0)));
+                    (ll.lat() < bbox.getTopLeftLat() || (ll.lat() == 90.0 && bbox.getTopLeftLat() == 90.0));
         }
 
