Eclipse-warning tweaks from Charlie.
This commit is contained in:
@@ -44,7 +44,7 @@ import com.samskivert.depot.impl.ExpressionVisitor;
|
|||||||
* instantiated explicitly.
|
* instantiated explicitly.
|
||||||
*/
|
*/
|
||||||
public class Key<T extends PersistentRecord> extends WhereClause
|
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
|
/** 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}. */
|
* combine a bunch of keys into a {@link KeySet}. */
|
||||||
|
|||||||
@@ -178,6 +178,8 @@ public class HSQLBuilder
|
|||||||
return "week";
|
return "week";
|
||||||
case YEAR:
|
case YEAR:
|
||||||
return "year";
|
return "year";
|
||||||
|
case EPOCH:
|
||||||
|
throw new IllegalArgumentException("HSQL doesn't have a direct function for epoch");
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException("Unknown date part: " + part);
|
throw new IllegalArgumentException("Unknown date part: " + part);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,8 @@ public interface SQLOperator extends SQLExpression
|
|||||||
return builder.visit(this);
|
return builder.visit(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// from SQLExpression
|
|
||||||
|
@Override // from SQLExpression
|
||||||
public void addClasses (Collection<Class<? extends PersistentRecord>> classSet)
|
public void addClasses (Collection<Class<? extends PersistentRecord>> classSet)
|
||||||
{
|
{
|
||||||
for (SQLExpression operand : _args) {
|
for (SQLExpression operand : _args) {
|
||||||
|
|||||||
Reference in New Issue
Block a user