[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Tue Feb 27 12:39:53 EST 2007
User: msurtani
Date: 07/02/27 12:39:53
Modified: src/org/jboss/cache CacheImpl.java
Log:
Calling _lock() shld throw exception
Revision Changes Path
1.49 +1 -1 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- CacheImpl.java 21 Feb 2007 17:02:20 -0000 1.48
+++ CacheImpl.java 27 Feb 2007 17:39:53 -0000 1.49
@@ -2895,7 +2895,7 @@
public void _lock(Fqn fqn, NodeLock.LockType lock_type, boolean recursive)
throws TimeoutException, LockingException
{
- log.warn("method _lock() should not be invoked on CacheImpl");
+ throw new UnsupportedOperationException("method _lock() should not be invoked on CacheImpl");
}
/**
More information about the jboss-cvs-commits
mailing list