Index: trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java	(revision 11879)
+++ trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java	(revision 11880)
@@ -2014,5 +2014,5 @@
         try {
             final String ascii = IDN.toASCII(input);
-            if (IDNBUGHOLDER.IDN_TOASCII_PRESERVES_TRAILING_DOTS) {
+            if (IdnBugHolder.IDN_TOASCII_PRESERVES_TRAILING_DOTS) {
                 return ascii;
             }
@@ -2042,5 +2042,5 @@
     }
 
-    private static class IDNBUGHOLDER {
+    private static class IdnBugHolder {
         private static boolean keepsTrailingDot() {
             final String input = "a."; // must be a valid name
Index: trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 11879)
+++ trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 11880)
@@ -640,8 +640,8 @@
         // as a result of the alignment, it is common to round "half integer" values
         // like 1.49999, which is numerically unstable; add small epsilon to resolve this
-        double EPSILON = 1e-3;
+        final double epsilon = 1e-3;
         Point2D enOriginAligned = new Point2D.Double(
-                Math.round(enOrigin.getX()) + EPSILON,
-                Math.round(enOrigin.getY()) + EPSILON);
+                Math.round(enOrigin.getX()) + epsilon,
+                Math.round(enOrigin.getY()) + epsilon);
         EastNorth enShift = mvs.getForView(enOriginAligned.getX(), enOriginAligned.getY()).getEastNorth();
         newCenter = newCenter.subtract(enShift);
