[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...

Gavin King gavin.king at jboss.com
Wed Oct 25 16:13:24 EDT 2006


  User: gavin   
  Date: 06/10/25 16:13:24

  Modified:    src/main/org/jboss/seam/core   Manager.java TimeZone.java
  Log:
  user wants encodeConversationId() public
  
  Revision  Changes    Path
  1.101     +8 -2      jboss-seam/src/main/org/jboss/seam/core/Manager.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Manager.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Manager.java,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -b -r1.100 -r1.101
  --- Manager.java	25 Oct 2006 15:14:35 -0000	1.100
  +++ Manager.java	25 Oct 2006 20:13:24 -0000	1.101
  @@ -41,7 +41,7 @@
    *
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.100 $
  + * @version $Revision: 1.101 $
    */
   @Scope(ScopeType.EVENT)
   @Name("org.jboss.seam.core.manager")
  @@ -763,7 +763,10 @@
         }
      }
   
  -   private String encodeConversationId(String url) {
  +   /**
  +    * Add the conversation id to a URL, if necessary
  +    */
  +   public String encodeConversationId(String url) {
         if ( destroyBeforeRedirect || Seam.isSessionInvalid() )
         {
            return url;
  @@ -816,6 +819,9 @@
         redirect(url, parameters, true);
      }
      
  +   /**
  +    * Add the parameters to a URL
  +    */
      public String encodeParameters(String url, Map<String, Object> parameters)
      {
         if ( parameters.isEmpty() ) return url;
  
  
  
  1.3       +1 -1      jboss-seam/src/main/org/jboss/seam/core/TimeZone.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TimeZone.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/TimeZone.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- TimeZone.java	11 Oct 2006 21:27:30 -0000	1.2
  +++ TimeZone.java	25 Oct 2006 20:13:24 -0000	1.3
  @@ -20,7 +20,7 @@
   public class TimeZone {
   
      @Unwrap
  -   public java.util.TimeZone getLocale()
  +   public java.util.TimeZone getTimeZone()
      {
         return TimeZoneSelector.instance().getTimeZone();
      }
  
  
  



More information about the jboss-cvs-commits mailing list