From 0b6d0a5798d786f4bafaf126c8ff3aeef27982db Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Tue, 17 May 2005 00:06:09 +0000 Subject: [PATCH] Remove finals - conflicts with CGLIB generated classes. --- .../domain/impl/AbstractPersistableEntity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/domain/src/main/java/org/acegisecurity/domain/impl/AbstractPersistableEntity.java b/domain/src/main/java/org/acegisecurity/domain/impl/AbstractPersistableEntity.java index a5b90ad706..b1eff3932d 100644 --- a/domain/src/main/java/org/acegisecurity/domain/impl/AbstractPersistableEntity.java +++ b/domain/src/main/java/org/acegisecurity/domain/impl/AbstractPersistableEntity.java @@ -51,7 +51,7 @@ public abstract class AbstractPersistableEntity extends BusinessObject * false otherwise */ @Transient - public final boolean isNew() { + public boolean isNew() { return (getInternalId() == null); } @@ -68,16 +68,16 @@ public abstract class AbstractPersistableEntity extends BusinessObject */ @Version @Column(name="version", nullable=false) - public final int getVersion() { + public int getVersion() { return version; } /** - * Sets the version numbers. Should only be used by the persistence layer. + * Sets the version numbers. * * @param version the new version number to use */ - protected final void setVersion(int version) { + public void setVersion(int version) { this.version = version; } }