Fixed some checkstyle errors in NumberFormat caused by unsorted methods.

Patch by: jlabanca
Review by: jgw (desk)



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5299 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/i18n/client/NumberFormat.java b/user/src/com/google/gwt/i18n/client/NumberFormat.java
index 87469a4..a31e995 100644
--- a/user/src/com/google/gwt/i18n/client/NumberFormat.java
+++ b/user/src/com/google/gwt/i18n/client/NumberFormat.java
@@ -504,34 +504,6 @@
     this(defaultNumberConstants, pattern, cdata, userSuppliedPattern);
   }
 
-  protected NumberConstants getNumberConstants() {
-    return numberConstants;
-  }
-
-  protected String getPositivePrefix() {
-    return positivePrefix;
-  }
-
-  protected String getPositiveSuffix() {
-    return positiveSuffix;
-  }
-
-  protected String getNegativePrefix() {
-    return negativePrefix;
-  }
-
-  protected String getNegativeSuffix() {
-    return negativeSuffix;
-  }
-
-  protected int getGroupingSize() {
-    return groupingSize;
-  }
-
-  protected boolean isDecimalSeparatorAlwaysShown() {
-    return decimalSeparatorAlwaysShown;
-  }
-
   /**
    * This method formats a double to produce a string.
    * 
@@ -614,7 +586,6 @@
    * @throws NumberFormatException if the text segment could not be converted into a number
    */
   public double parse(String text, int[] inOutPos) throws NumberFormatException {
-    int start = inOutPos[0];
     double ret = 0.0;
 
     boolean gotPositivePrefix = text.startsWith(positivePrefix, inOutPos[0]);
@@ -684,6 +655,34 @@
     return ret;
   }
 
+  protected int getGroupingSize() {
+    return groupingSize;
+  }
+
+  protected String getNegativePrefix() {
+    return negativePrefix;
+  }
+
+  protected String getNegativeSuffix() {
+    return negativeSuffix;
+  }
+
+  protected NumberConstants getNumberConstants() {
+    return numberConstants;
+  }
+
+  protected String getPositivePrefix() {
+    return positivePrefix;
+  }
+
+  protected String getPositiveSuffix() {
+    return positiveSuffix;
+  }
+
+  protected boolean isDecimalSeparatorAlwaysShown() {
+    return decimalSeparatorAlwaysShown;
+  }
+
   /**
    * This method formats the exponent part of a double.
    *