click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r941960 - /click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java
Date Thu, 06 May 2010 22:41:22 GMT
Author: sabob
Date: Thu May  6 22:41:22 2010
New Revision: 941960

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

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

Modified: click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java?rev=941960&r1=941959&r2=941960&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java Thu May  6
22:41:22 2010
@@ -44,7 +44,7 @@ public abstract class AbstractLink exten
 
     private static final long serialVersionUID = 1L;
 
-    // ----------------------------------------------------- Instance Variables
+    // Instance Variables -----------------------------------------------------
 
     /** The Field disabled value. */
     protected boolean disabled;
@@ -74,7 +74,7 @@ public abstract class AbstractLink exten
     /** Flag to set if both icon and text are rendered, default value is false. */
     protected boolean renderLabelAndImage = false;
 
-    // ----------------------------------------------------------- Constructors
+    // Constructors -----------------------------------------------------------
 
     /**
      * Create an AbstractLink for the given name.
@@ -94,7 +94,7 @@ public abstract class AbstractLink exten
     public AbstractLink() {
     }
 
-    // ------------------------------------------------------ Public Attributes
+    // Public Attributes ------------------------------------------------------
 
     /**
      * Return the link html tag: <tt>a</tt>.
@@ -103,6 +103,7 @@ public abstract class AbstractLink exten
      *
      * @return this controls html tag
      */
+    @Override
     public String getTag() {
         return "a";
     }
@@ -179,6 +180,7 @@ public abstract class AbstractLink exten
      *
      * @return HTML element identifier attribute "id" value
      */
+    @Override
     public String getId() {
         if (hasAttributes()) {
             return getAttribute("id");
@@ -491,7 +493,7 @@ public abstract class AbstractLink exten
         this.renderLabelAndImage = renderLabelAndImage;
     }
 
-    // --------------------------------------------------------- Public Methods
+    // Public Methods ---------------------------------------------------------
 
     /**
      * This method does nothing by default since AbstractLink does not bind to
@@ -515,6 +517,7 @@ public abstract class AbstractLink exten
      *
      * @param buffer the specified buffer to render the control's output to
      */
+    @Override
     public void render(HtmlStringBuffer buffer) {
 
         if (isDisabled()) {
@@ -569,7 +572,7 @@ public abstract class AbstractLink exten
         }
     }
 
-    // ------------------------------------------------------ Protected Methods
+    // Protected Methods ------------------------------------------------------
 
     /**
      * Render the Image tag to the buffer.



Mime
View raw message