Cut and paste error.

This commit is contained in:
Par Winzell
2008-12-10 21:09:56 +00:00
parent 50d31cfcc5
commit b3cb1d6214
@@ -417,7 +417,7 @@ public abstract class DepotRepository
throws DatabaseException
{
@SuppressWarnings("unchecked") Class<T> pClass = (Class<T>) record.getClass();
requireNotComputed(pClass, "updatePartial");
requireNotComputed(pClass, "update");
DepotMarshaller<T> marsh = _ctx.getMarshaller(pClass);
Key<T> key = marsh.getPrimaryKey(record);