[jboss-cvs] jboss-seam/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom ...
Gavin King
gavin.king at jboss.com
Mon Feb 26 22:39:20 EST 2007
User: gavin
Date: 07/02/26 22:39:20
Modified: examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom
ChatroomUsers.java
Log:
even simpler
Revision Changes Path
1.4 +6 -13 jboss-seam/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/ChatroomUsers.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ChatroomUsers.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/ChatroomUsers.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ChatroomUsers.java 27 Feb 2007 03:38:21 -0000 1.3
+++ ChatroomUsers.java 27 Feb 2007 03:39:20 -0000 1.4
@@ -19,9 +19,7 @@
private PojoCache pojoCache;
@Unwrap
- public Set<String> getUsers()
- {
- try
+ public Set<String> getUsers() throws CacheException
{
Set<String> userList = (Set<String>) pojoCache.get("chatroom", "userList");
if (userList==null)
@@ -31,10 +29,5 @@
}
return userList;
}
- catch (CacheException ce)
- {
- throw new RuntimeException(ce);
- }
- }
}
More information about the jboss-cvs-commits
mailing list