Eclipse-warning tweaks from Charlie.

This commit is contained in:
Par Winzell
2009-09-09 19:52:56 +00:00
parent 9c68929213
commit 27dcb0e753
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ import com.samskivert.depot.impl.ExpressionVisitor;
* instantiated explicitly.
*/
public class Key<T extends PersistentRecord> extends WhereClause
implements SQLExpression, ValidatingCacheInvalidator
implements ValidatingCacheInvalidator
{
/** Handles the matching of the key columns to its bound values. This is needed so that we can
* combine a bunch of keys into a {@link KeySet}. */
@@ -178,6 +178,8 @@ public class HSQLBuilder
return "week";
case YEAR:
return "year";
case EPOCH:
throw new IllegalArgumentException("HSQL doesn't have a direct function for epoch");
}
throw new IllegalArgumentException("Unknown date part: " + part);
}
@@ -56,7 +56,8 @@ public interface SQLOperator extends SQLExpression
return builder.visit(this);
}
// from SQLExpression
@Override // from SQLExpression
public void addClasses (Collection<Class<? extends PersistentRecord>> classSet)
{
for (SQLExpression operand : _args) {