Author: manik.surtani(a)jboss.com
Date: 2008-01-02 06:29:31 -0500 (Wed, 02 Jan 2008)
New Revision: 4937
Modified:
core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java
Log:
getInterceptorChain should return unmodifiable list
Modified:
core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java 2008-01-02
11:28:57 UTC (rev 4936)
+++
core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java 2008-01-02
11:29:31 UTC (rev 4937)
@@ -113,7 +113,7 @@
public List<Interceptor> getInterceptorChain()
{
- return InterceptorChainFactory.asList(interceptorChain);
+ return
Collections.unmodifiableList(InterceptorChainFactory.asList(interceptorChain));
}
public void addInterceptor(Interceptor i, int position)
Show replies by date