[jbosscache-commits] JBoss Cache SVN: r7877 - core/branches/flat/src/main/java/org/horizon/container.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Sat Mar 7 08:06:00 EST 2009
Author: manik.surtani at jboss.com
Date: 2009-03-07 08:05:59 -0500 (Sat, 07 Mar 2009)
New Revision: 7877
Modified:
core/branches/flat/src/main/java/org/horizon/container/CachedValue.java
Log:
Assertions to make sure certain methods arent called
Modified: core/branches/flat/src/main/java/org/horizon/container/CachedValue.java
===================================================================
--- core/branches/flat/src/main/java/org/horizon/container/CachedValue.java 2009-03-07 12:56:38 UTC (rev 7876)
+++ core/branches/flat/src/main/java/org/horizon/container/CachedValue.java 2009-03-07 13:05:59 UTC (rev 7877)
@@ -37,9 +37,6 @@
return false;
}
- public void copyForUpdate(DataContainer container, boolean writeSkewCheck) {
- }
-
public void commitUpdate(DataContainer container) {
}
@@ -55,6 +52,7 @@
}
public void setCreated(boolean created) {
+ throw new UnsupportedOperationException();
}
public final boolean isDeleted() {
@@ -62,6 +60,7 @@
}
public void setDeleted(boolean deleted) {
+ throw new UnsupportedOperationException();
}
public final boolean isValid() {
@@ -69,6 +68,7 @@
}
public void setValid(boolean valid) {
+ throw new UnsupportedOperationException();
}
public long getLifespan() {
@@ -76,5 +76,6 @@
}
public void setLifespan(long lifespan) {
+ throw new UnsupportedOperationException();
}
}
\ No newline at end of file
More information about the jbosscache-commits
mailing list