db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1103187 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/FunctionEnum.java
Date Sat, 14 May 2011 19:08:03 GMT
Author: tfischer
Date: Sat May 14 19:08:03 2011
New Revision: 1103187

URL: http://svn.apache.org/viewvc?rev=1103187&view=rev
Log:
- make class final as all constructors are private
- add javadoc 

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/FunctionEnum.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/FunctionEnum.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/FunctionEnum.java?rev=1103187&r1=1103186&r2=1103187&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/FunctionEnum.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/FunctionEnum.java
Sat May 14 19:08:03 2011
@@ -27,7 +27,7 @@ package org.apache.torque.util.functions
  * @author <a href="mailto:greg.monroe@dukece.com">Greg Monroe</a>
  * @version $Id
  */
-public class FunctionEnum implements java.io.Serializable
+public final class FunctionEnum implements java.io.Serializable
 {
     /**
      * Serial version
@@ -50,19 +50,20 @@ public class FunctionEnum implements jav
     public static final FunctionEnum COUNT =
                                 new FunctionEnum("COUNT");
 
+    /** The function name. */
     private final String s;
 
     /**
      * This is a static only class.
-     * @param s
+     *
+     * @param s the function name
      */
-
     private FunctionEnum(String s)
     {
         this.s = s;
     }
 
-    public final String toString()
+    public String toString()
     {
         return s;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message