[seam-commits] Seam SVN: r13631 - branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Aug 25 02:49:46 EDT 2010
Author: shane.bryzak at jboss.com
Date: 2010-08-25 02:49:46 -0400 (Wed, 25 Aug 2010)
New Revision: 13631
Modified:
branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/UserTokens.java
Log:
JBSEAM-4697
Modified: branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/UserTokens.java
===================================================================
--- branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/UserTokens.java 2010-08-25 00:52:00 UTC (rev 13630)
+++ branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/UserTokens.java 2010-08-25 06:49:46 UTC (rev 13631)
@@ -1,9 +1,9 @@
package org.jboss.seam.remoting.messaging;
import java.io.Serializable;
-import java.util.HashSet;
import java.util.Set;
+import org.jboss.cache.util.concurrent.ConcurrentHashSet;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.Name;
@@ -13,7 +13,7 @@
@Scope(ScopeType.SESSION)
public class UserTokens implements Serializable
{
- Set<String> tokens = new HashSet<String>();
+ Set<String> tokens = new ConcurrentHashSet<String>();
public void add(String token) {
tokens.add(token);
More information about the seam-commits
mailing list