Fix method sort order.

Patch by: jat
Review by: bobv (TBR)



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2205 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java b/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
index db87f93..ce9b8a1 100644
--- a/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
+++ b/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
@@ -263,6 +263,14 @@
     return cacheManager;
   }
 
+  /**
+   * Returns the physical name for the module by which it can be found in the
+   * classpath.
+   */
+  public String getCanonicalName() {
+    return name;
+  }
+
   public synchronized CompilationUnitProvider[] getCompilationUnits() {
     return cups;
   }
@@ -285,14 +293,6 @@
   }
 
   /**
-   * Returns the physical name for the module by which it can be found in the
-   * classpath.
-   */
-  public String getCanonicalName() {
-    return name;
-  }
-
-  /**
    * The properties that have been defined.
    */
   public synchronized Properties getProperties() {