@Override is our friend. It helps to keep us warm and safe.

This commit is contained in:
Michael Bayne
2007-07-12 21:50:36 +00:00
parent 083cb788d8
commit 68d9be57eb
@@ -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()) {