[jbosscache-commits] JBoss Cache SVN: r4895 - core/trunk/src/main/java/org/jboss/cache/interceptors.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Thu Dec 20 09:19:44 EST 2007
Author: manik.surtani at jboss.com
Date: 2007-12-20 09:19:44 -0500 (Thu, 20 Dec 2007)
New Revision: 4895
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/MethodDispacherInterceptor.java
Log:
Why does the overriddenMethods collection need to be a TreeSet?
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/MethodDispacherInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/MethodDispacherInterceptor.java 2007-12-20 14:18:19 UTC (rev 4894)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/MethodDispacherInterceptor.java 2007-12-20 14:19:44 UTC (rev 4895)
@@ -11,10 +11,10 @@
import org.jboss.cache.transaction.GlobalTransaction;
import org.jgroups.Address;
+import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.TreeSet;
/**
* The purpose of this interceptor is to supply a nicer way of handling the interception of desired methods:
@@ -40,7 +40,7 @@
/**
* List of the method the extending interceptor pverwrites. It is only those methods that will be called.
*/
- private Set<Integer> overriddenMethods = new TreeSet<Integer>();
+ private Set<Integer> overriddenMethods = new HashSet<Integer>();
protected MethodDispacherInterceptor()
{
More information about the jbosscache-commits
mailing list