Index: /trunk/src/org/openstreetmap/josm/data/projection/proj/AbstractProj.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/projection/proj/AbstractProj.java	(revision 9116)
+++ /trunk/src/org/openstreetmap/josm/data/projection/proj/AbstractProj.java	(revision 9117)
@@ -25,5 +25,5 @@
 
     /**
-     * Relative iteration precision used in the <code>mlfn<code> method
+     * Relative iteration precision used in the <code>mlfn</code> method
      */
     private static final double MLFN_TOL = 1E-11;
@@ -33,28 +33,28 @@
      * {@link #en2}, {@link #en3}, {@link #en4}.
      */
-    private static final double C00= 1.0,
-                                C02= 0.25,
-                                C04= 0.046875,
-                                C06= 0.01953125,
-                                C08= 0.01068115234375,
-                                C22= 0.75,
-                                C44= 0.46875,
-                                C46= 0.01302083333333333333,
-                                C48= 0.00712076822916666666,
-                                C66= 0.36458333333333333333,
-                                C68= 0.00569661458333333333,
-                                C88= 0.3076171875;
+    private static final double C00 = 1.0,
+                                C02 = 0.25,
+                                C04 = 0.046875,
+                                C06 = 0.01953125,
+                                C08 = 0.01068115234375,
+                                C22 = 0.75,
+                                C44 = 0.46875,
+                                C46 = 0.01302083333333333333,
+                                C48 = 0.00712076822916666666,
+                                C66 = 0.36458333333333333333,
+                                C68 = 0.00569661458333333333,
+                                C88 = 0.3076171875;
 
     /**
-     * Constant needed for the <code>mlfn<code> method.
+     * Constant needed for the <code>mlfn</code> method.
      * Setup at construction time.
      */
-    protected double en0,en1,en2,en3,en4;
+    protected double en0, en1, en2, en3, en4;
 
     /**
      * The square of excentricity: e² = (a²-b²)/a² where
-     * <var>e</var> is the {@linkplain #excentricity excentricity},
-     * <var>a</var> is the {@linkplain #semiMajor semi major} axis length and
-     * <var>b</var> is the {@linkplain #semiMinor semi minor} axis length.
+     * <var>e</var> is the excentricity,
+     * <var>a</var> is the semi major axis length and
+     * <var>b</var> is the semi minor axis length.
      */
     protected double e2;
@@ -107,5 +107,5 @@
         int i;
         phi = arg;
-        for (i=MAXIMUM_ITERATIONS; true;) { // rarely goes over 5 iterations
+        for (i = MAXIMUM_ITERATIONS; true;) { // rarely goes over 5 iterations
             if (--i < 0) {
                 throw new RuntimeException("Too many iterations");
@@ -122,5 +122,5 @@
 
     public static double normalizeLon(double lon) {
-        if (lon >= - Math.PI && lon <= Math.PI)
+        if (lon >= -Math.PI && lon <= Math.PI)
             return lon;
         else {
Index: /trunk/src/org/openstreetmap/josm/data/projection/proj/TransverseMercator.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/projection/proj/TransverseMercator.java	(revision 9116)
+++ /trunk/src/org/openstreetmap/josm/data/projection/proj/TransverseMercator.java	(revision 9117)
@@ -56,10 +56,10 @@
  * </ul>
  *
- * @see <A HREF="http://mathworld.wolfram.com/MercatorProjection.html">Transverse Mercator projection on MathWorld</A>
- * @see <A HREF="http://www.remotesensing.org/geotiff/proj_list/transverse_mercator.html">"Transverse_Mercator" on RemoteSensing.org</A>
- *
  * @author André Gosselin
  * @author Martin Desruisseaux (PMO, IRD)
  * @author Rueben Schulz
+ *
+ * @see <A HREF="http://mathworld.wolfram.com/MercatorProjection.html">Transverse Mercator projection on MathWorld</A>
+ * @see <A HREF="http://www.remotesensing.org/geotiff/proj_list/transverse_mercator.html">"Transverse_Mercator" on RemoteSensing.org</A>
  */
 public class TransverseMercator extends AbstractProj {
@@ -69,12 +69,12 @@
      * case of the Transverse Mercator.
      */
-    private static final double FC1= 1.00000000000000000000000,  // 1/1
-                                FC2= 0.50000000000000000000000,  // 1/2
-                                FC3= 0.16666666666666666666666,  // 1/6
-                                FC4= 0.08333333333333333333333,  // 1/12
-                                FC5= 0.05000000000000000000000,  // 1/20
-                                FC6= 0.03333333333333333333333,  // 1/30
-                                FC7= 0.02380952380952380952380,  // 1/42
-                                FC8= 0.01785714285714285714285;  // 1/56
+    private static final double FC1 = 1.00000000000000000000000,  // 1/1
+                                FC2 = 0.50000000000000000000000,  // 1/2
+                                FC3 = 0.16666666666666666666666,  // 1/6
+                                FC4 = 0.08333333333333333333333,  // 1/12
+                                FC5 = 0.05000000000000000000000,  // 1/20
+                                FC6 = 0.03333333333333333333333,  // 1/30
+                                FC7 = 0.02380952380952380952380,  // 1/42
+                                FC8 = 0.01785714285714285714285;  // 1/56
 
     /**
@@ -139,14 +139,14 @@
         y = (mlfn(y, sinphi, cosphi) - ml0 +
             sinphi * al * x *
-            FC2 * ( 1.0 +
+            FC2 * (1.0 +
             FC4 * als * (5.0 - t + n*(9.0 + 4.0*n) +
             FC6 * als * (61.0 + t * (t - 58.0) + n*(270.0 - 330.0*t) +
-            FC8 * als * (1385.0 + t * ( t*(543.0 - t) - 3111.0))))));
+            FC8 * als * (1385.0 + t * (t*(543.0 - t) - 3111.0))))));
 
         x = al*(FC1 + FC3 * als*(1.0 - t + n +
             FC5 * als * (5.0 + t*(t - 18.0) + n*(14.0 - 58.0*t) +
-            FC7 * als * (61.0+ t*(t*(179.0 - t) - 479.0 )))));
+            FC7 * als * (61.0+ t*(t*(179.0 - t) - 479.0)))));
 
-        return new double[] { x, y };
+        return new double[] {x, y};
     }
 
@@ -156,5 +156,5 @@
 
         if (Math.abs(phi) >= Math.PI/2) {
-            y = y<0.0 ? -(Math.PI/2) : (Math.PI/2);
+            y = y < 0.0 ? -(Math.PI/2) : (Math.PI/2);
             x = 0.0;
         } else {
@@ -179,5 +179,5 @@
                 ds*FC7*(61.0 + t*(662.0 + t*(1320.0 + 720.0*t))))))/cosphi;
         }
-        return new double[] { y, x };
+        return new double[] {y, x};
     }
 }
