@Override is our friend. It helps to keep us warm and safe.
This commit is contained in:
@@ -84,13 +84,13 @@ public class MultiKey<T extends PersistentRecord> extends Where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// from QueryClause
|
@Override // from QueryClause
|
||||||
public void addClasses (Collection<Class<? extends PersistentRecord>> classSet)
|
public void addClasses (Collection<Class<? extends PersistentRecord>> classSet)
|
||||||
{
|
{
|
||||||
classSet.add(_pClass);
|
classSet.add(_pClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
// from QueryClause
|
@Override // from Where
|
||||||
public void appendClause (QueryBuilderContext<?> query, StringBuilder builder)
|
public void appendClause (QueryBuilderContext<?> query, StringBuilder builder)
|
||||||
{
|
{
|
||||||
builder.append(" where ");
|
builder.append(" where ");
|
||||||
@@ -117,8 +117,8 @@ public class MultiKey<T extends PersistentRecord> extends Where
|
|||||||
builder.append(")");
|
builder.append(")");
|
||||||
}
|
}
|
||||||
|
|
||||||
// from QueryClause
|
@Override // from Where
|
||||||
public int bindExpressionArguments (PreparedStatement pstmt, int argIdx)
|
public int bindClauseArguments (PreparedStatement pstmt, int argIdx)
|
||||||
throws SQLException
|
throws SQLException
|
||||||
{
|
{
|
||||||
for (Map.Entry entry : _map.entrySet()) {
|
for (Map.Entry entry : _map.entrySet()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user