Checkstyle fix in LayoutCommand
tbr jgw

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@6631 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/LayoutCommand.java b/user/src/com/google/gwt/user/client/ui/LayoutCommand.java
index 9de09d2..8605873 100644
--- a/user/src/com/google/gwt/user/client/ui/LayoutCommand.java
+++ b/user/src/com/google/gwt/user/client/ui/LayoutCommand.java
@@ -46,6 +46,15 @@
     this.layout = layout;
   }
 
+  /**
+   * Cancels this command. A subsequent call to
+   * {@link #schedule(int, AnimationCallback)} will re-enable it.
+   */
+  public void cancel() {
+    // There's no way to "unschedule" a command, so we use a canceled flag.
+    canceled = true;
+  }
+
   public final void execute() {
     if (canceled) {
       return;
@@ -80,13 +89,6 @@
   }
 
   /**
-   * Called before the layout is executed. Override this method to perform any
-   * work that needs to happen just before it.
-   */
-  protected void doBeforeLayout() {
-  }
-
-  /**
    * Schedules a layout. The duration and callback passed to this method will
    * supercede any previous call that has not yet been executed.
    * 
@@ -105,11 +107,9 @@
   }
 
   /**
-   * Cancels this command. A subsequent call to
-   * {@link #schedule(int, AnimationCallback)} will re-enable it.
+   * Called before the layout is executed. Override this method to perform any
+   * work that needs to happen just before it.
    */
-  public void cancel() {
-    // There's no way to "unschedule" a command, so we use a canceled flag.
-    canceled = true;
+  protected void doBeforeLayout() {
   }
 }