Browse Source

Renamed generic type from PK to ID.

pull/2/head
Oliver Gierke 15 years ago
parent
commit
f36dd1e459
  1. 4
      spring-data-commons-core/src/main/java/org/springframework/data/domain/Auditable.java

4
spring-data-commons-core/src/main/java/org/springframework/data/domain/Auditable.java

@ -27,9 +27,9 @@ import org.joda.time.DateTime;
* *
* @author Oliver Gierke * @author Oliver Gierke
* @param <U> the auditing type. Typically some kind of user. * @param <U> the auditing type. Typically some kind of user.
* @param <PK> the type of the auditing type's idenifier * @param <ID> the type of the auditing type's idenifier
*/ */
public interface Auditable<U, PK extends Serializable> extends Persistable<PK> { public interface Auditable<U, ID extends Serializable> extends Persistable<ID> {
/** /**
* Returns the user who created this entity. * Returns the user who created this entity.

Loading…
Cancel
Save