You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/05/14 21:12:47 UTC
svn commit: r1103190 -
/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/SQLFunction.java
Author: tfischer
Date: Sat May 14 19:12:47 2011
New Revision: 1103190
URL: http://svn.apache.org/viewvc?rev=1103190&view=rev
Log:
make Checkstyle happy
Modified:
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/SQLFunction.java
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/SQLFunction.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/SQLFunction.java?rev=1103190&r1=1103189&r2=1103190&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/SQLFunction.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/functions/SQLFunction.java Sat May 14 19:12:47 2011
@@ -40,7 +40,7 @@ public interface SQLFunction
*
* @return The SQL String.
*/
- public abstract String toSQL();
+ String toSQL();
/**
* Return a string representation of the function parameters
@@ -50,7 +50,7 @@ public interface SQLFunction
* @return A String representation of the parameter. Null if one does not
* exist.
*/
- public abstract String getArgument(int i);
+ String getArgument(int i);
/**
* Return all the parameters as an object array. This allow for
@@ -61,7 +61,7 @@ public interface SQLFunction
* @return Should return a valid Object array and not null. E.g.
* implementors should return new Object[0] if there are no parameters.
*/
- public abstract Object[] getArguments();
+ Object[] getArguments();
/**
* Sets the function specific arguments. Note, this should generally
@@ -69,16 +69,17 @@ public interface SQLFunction
*
* @param args The function specific arguments.
*/
- public abstract void setArguments(Object[] args);
+ void setArguments(Object[] args);
/**
* Get the name of the Torque Database associated with this function.
*
* @return The DB name. Should not be null (use default DB in this case).
+ *
* @exception IllegalStateException If Torque has not been initialized and
* the default DB name can not be determined.
*/
- public abstract String getDBName() throws IllegalStateException;
+ String getDBName();
/**
* Sets the Torque DB name this function is being used with.
@@ -86,6 +87,6 @@ public interface SQLFunction
* @param dbName The DB name, if null, the getDBName will return default DB
* name (if it can be determined).
*/
- public abstract void setDBName(String dbName);
+ void setDBName(String dbName);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org