click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malcolm Edgar <malcolm.ed...@gmail.com>
Subject Re: svn commit: r986268 - in /click/trunk/click/extras/src/org/apache/click/extras/control: IntegerField.java LongField.java
Date Tue, 17 Aug 2010 12:05:16 GMT
Great set of commits.

regards Malcolm Edgar

On Tue, Aug 17, 2010 at 9:31 PM,  <bckfnn@apache.org> wrote:
> Author: bckfnn
> Date: Tue Aug 17 11:31:26 2010
> New Revision: 986268
>
> URL: http://svn.apache.org/viewvc?rev=986268&view=rev
> Log:
> added @Override
>
> Modified:
>    click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java
>    click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java
>
> Modified: click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java
> URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java?rev=986268&r1=986267&r2=986268&view=diff
> ==============================================================================
> --- click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java (original)
> +++ click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java Tue
Aug 17 11:31:26 2010
> @@ -205,6 +205,7 @@ public class IntegerField extends Number
>      *
>      * @return the Integer object representation of the Field value
>      */
> +    @Override
>     public Object getValueObject() {
>         return getInteger();
>     }
> @@ -216,6 +217,7 @@ public class IntegerField extends Number
>      *
>      * @param object the object value to set
>      */
> +    @Override
>     public void setValueObject(Object object) {
>         if (object != null) {
>             setValue(object.toString());
> @@ -245,6 +247,7 @@ public class IntegerField extends Number
>      * </ul>
>      * </blockquote>
>      */
> +    @Override
>     public void validate() {
>         setError(null);
>
>
> Modified: click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java
> URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java?rev=986268&r1=986267&r2=986268&view=diff
> ==============================================================================
> --- click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java (original)
> +++ click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java Tue Aug
17 11:31:26 2010
> @@ -192,6 +192,7 @@ public class LongField extends NumberFie
>      *
>      * @return the Long object representation of the Field value
>      */
> +    @Override
>     public Object getValueObject() {
>         return getLong();
>     }
> @@ -203,6 +204,7 @@ public class LongField extends NumberFie
>      *
>      * @param object the object value to set
>      */
> +    @Override
>     public void setValueObject(Object object) {
>         if (object != null) {
>             value = object.toString();
> @@ -229,6 +231,7 @@ public class LongField extends NumberFie
>      * </ul>
>      * </blockquote>
>      */
> +    @Override
>     public void validate() {
>         setError(null);
>
>
>
>

Mime
View raw message