click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r940087 - /click/trunk/click/framework/src/org/apache/click/control/ActionLink.java
Date Sat, 01 May 2010 17:14:17 GMT
Author: sabob
Date: Sat May  1 17:14:17 2010
New Revision: 940087

URL: http://svn.apache.org/viewvc?rev=940087&view=rev
Log:
cleanup

Modified:
    click/trunk/click/framework/src/org/apache/click/control/ActionLink.java

Modified: click/trunk/click/framework/src/org/apache/click/control/ActionLink.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/ActionLink.java?rev=940087&r1=940086&r2=940087&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/ActionLink.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/ActionLink.java Sat May  1 17:14:17
2010
@@ -145,7 +145,7 @@ import org.apache.commons.lang.StringUti
  */
 public class ActionLink extends AbstractLink {
 
-    // -------------------------------------------------------------- Constants
+    // Constants --------------------------------------------------------------
 
     private static final long serialVersionUID = 1L;
 
@@ -155,12 +155,12 @@ public class ActionLink extends Abstract
     /** The value parameter name: &nbsp; <tt>value</tt>. */
     public static final String VALUE = "value";
 
-    // ----------------------------------------------------- Instance Variables
+    // Instance Variables -----------------------------------------------------
 
     /** The link is clicked. */
     protected boolean clicked;
 
-    // ----------------------------------------------------------- Constructors
+    // Constructors -----------------------------------------------------------
 
     /**
      * Create an ActionLink for the given name.
@@ -268,7 +268,7 @@ public class ActionLink extends Abstract
     public ActionLink() {
     }
 
-    // ------------------------------------------------------ Public Attributes
+    // Public Attributes ------------------------------------------------------
 
     /**
      * Returns true if the ActionLink was clicked, otherwise returns false.
@@ -360,6 +360,7 @@ public class ActionLink extends Abstract
      * @param name of the control
      * @throws IllegalArgumentException if the name is null
      */
+    @Override
     public void setName(String name) {
         if (ACTION_LINK.equals(name)) {
             String msg = "Invalid name '" + ACTION_LINK + "'. This name is "
@@ -379,6 +380,7 @@ public class ActionLink extends Abstract
      * @throws IllegalArgumentException if the given parent instance is
      * referencing <tt>this</tt> object: <tt>if (parent == this)</tt>
      */
+    @Override
     public void setParent(Object parent) {
         if (parent == this) {
             throw new IllegalArgumentException("Cannot set parent to itself");
@@ -477,6 +479,7 @@ public class ActionLink extends Abstract
      * This method binds the submitted request value to the ActionLink's
      * value.
      */
+    @Override
     public void bindRequestValue() {
         Context context = getContext();
         if (context.isMultipartRequest()) {
@@ -490,7 +493,7 @@ public class ActionLink extends Abstract
         }
     }
 
-    // --------------------------------------------------------- Public Methods
+    // Public Methods ---------------------------------------------------------
 
     /**
      * This method will set the {@link #isClicked()} property to true if the
@@ -501,6 +504,7 @@ public class ActionLink extends Abstract
      *
      * @return true to continue Page event processing or false otherwise
      */
+    @Override
     public boolean onProcess() {
         bindRequestValue();
 



Mime
View raw message