[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...
Gavin King
gavin.king at jboss.com
Sun Jun 10 16:44:19 EDT 2007
User: gavin
Date: 07/06/10 16:44:19
Modified: src/main/org/jboss/seam/contexts
BusinessProcessContext.java
ClientConversationContext.java
ServerConversationContext.java
Log:
minor
Revision Changes Path
1.37 +2 -1 jboss-seam/src/main/org/jboss/seam/contexts/BusinessProcessContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BusinessProcessContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/BusinessProcessContext.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- BusinessProcessContext.java 10 Jun 2007 19:39:15 -0000 1.36
+++ BusinessProcessContext.java 10 Jun 2007 20:44:19 -0000 1.37
@@ -28,7 +28,8 @@
* @author <a href="mailto:steve at hibernate.org">Steve Ebersole</a>
* @author Gavin King
*/
-public class BusinessProcessContext implements Context {
+public class BusinessProcessContext implements Context
+{
private static final LogProvider log = Logging.getLogProvider(BusinessProcessContext.class);
1.12 +5 -3 jboss-seam/src/main/org/jboss/seam/contexts/ClientConversationContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ClientConversationContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/ClientConversationContext.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- ClientConversationContext.java 10 Jun 2007 19:39:15 -0000 1.11
+++ ClientConversationContext.java 10 Jun 2007 20:44:19 -0000 1.12
@@ -23,7 +23,8 @@
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
*/
-public class ClientConversationContext implements Context {
+public class ClientConversationContext implements Context
+{
private Map<String, Object> map;
@@ -52,7 +53,7 @@
public boolean isSet(String name)
{
- return get(name)!=null;
+ return map.containsKey(name);
}
public void remove(String name)
@@ -62,7 +63,8 @@
if ( Events.exists() ) Events.instance().raiseEvent("org.jboss.seam.postRemoveVariable." + name);
}
- public String[] getNames() {
+ public String[] getNames()
+ {
return map.keySet().toArray( new String[]{} );
}
1.25 +2 -1 jboss-seam/src/main/org/jboss/seam/contexts/ServerConversationContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerConversationContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/ServerConversationContext.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- ServerConversationContext.java 10 Jun 2007 19:39:15 -0000 1.24
+++ ServerConversationContext.java 10 Jun 2007 20:44:19 -0000 1.25
@@ -27,7 +27,8 @@
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
*/
-public class ServerConversationContext implements Context {
+public class ServerConversationContext implements Context
+{
private final Map<String, Object> session;
private final Map<String, Object> additions = new HashMap<String, Object>();
More information about the jboss-cvs-commits
mailing list