Sort & format.

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2471 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/rpc/TestSetFactory.java b/user/test/com/google/gwt/user/client/rpc/TestSetFactory.java
index 0e0cbe3..1b99843 100644
--- a/user/test/com/google/gwt/user/client/rpc/TestSetFactory.java
+++ b/user/test/com/google/gwt/user/client/rpc/TestSetFactory.java
@@ -32,6 +32,10 @@
    * TODO: document me.
    */
   public static class SerializableClass implements IsSerializable {
+    IsSerializable elementRef;
+
+    IsSerializable[] elements;
+
     public IsSerializable getElementRef() {
       return elementRef;
     }
@@ -47,16 +51,18 @@
     public void setElements(IsSerializable[] elements) {
       this.elements = elements;
     }
-
-    IsSerializable elementRef;
-
-    IsSerializable[] elements;
   }
 
   /**
    * TODO: document me.
    */
   public static class SerializableDoublyLinkedNode implements IsSerializable {
+    protected String data;
+
+    protected SerializableDoublyLinkedNode leftChild;
+
+    protected SerializableDoublyLinkedNode rightChild;
+
     public String getData() {
       return data;
     }
@@ -80,10 +86,6 @@
     public void setRightChild(SerializableDoublyLinkedNode rightChild) {
       this.rightChild = rightChild;
     }
-
-    protected String data;
-    protected SerializableDoublyLinkedNode leftChild;
-    protected SerializableDoublyLinkedNode rightChild;
   }
 
   /**
@@ -105,6 +107,10 @@
   public static class SerializableNode extends UnserializableNode implements
       IsSerializable {
 
+    protected String data;
+
+    protected SerializableNode next;
+
     public boolean equals(Object obj) {
       if (this == obj) {
         return true;
@@ -162,10 +168,6 @@
     public void setNext(SerializableNode next) {
       this.next = next;
     }
-
-    protected String data;
-
-    protected SerializableNode next;
   }
 
   /**
@@ -174,13 +176,13 @@
   public static class SerializablePrivateNoArg implements IsSerializable {
     private int value;
 
-    private SerializablePrivateNoArg() {
-    }
-
     public SerializablePrivateNoArg(int value) {
       this.value = value;
     }
 
+    private SerializablePrivateNoArg() {
+    }
+
     public int getValue() {
       return value;
     }
@@ -332,20 +334,6 @@
         new Short(Short.MAX_VALUE), new Short(Short.MIN_VALUE)};
   }
 
-  public static int[] createVeryLargeArray() {
-    return new int[1 << 20];
-  }
-
-  /*
-   * Check names that collide with JS properties inherited from Object.prototype
-   * to make sure they are handled properly.
-   */
-  public static String[] createStringArray() {
-    return new String[] {
-        null, "", "one", "two", "toString", "watch", "prototype", "eval",
-        "valueOf", "constructor", "__proto__"};
-  }
-
   public static java.sql.Date[] createSqlDateArray() {
     return new java.sql.Date[] {
         new java.sql.Date(500L), new java.sql.Date(500000000L)};
@@ -359,6 +347,16 @@
     return new Timestamp[] {new Timestamp(500L), new Timestamp(5000000L)};
   }
 
+  /*
+   * Check names that collide with JS properties inherited from Object.prototype
+   * to make sure they are handled properly.
+   */
+  public static String[] createStringArray() {
+    return new String[] {
+        null, "", "one", "two", "toString", "watch", "prototype", "eval",
+        "valueOf", "constructor", "__proto__"};
+  }
+
   public static Vector createVector() {
     Vector vector = new Vector();
     vector.add(new SerializableNode());
@@ -369,6 +367,10 @@
     return vector;
   }
 
+  public static int[] createVeryLargeArray() {
+    return new int[1 << 20];
+  }
+
   static SerializableDoublyLinkedNode createAcyclicGraph() {
     SerializableDoublyLinkedNode head = new SerializableDoublyLinkedNode();
     head.setData("head");