seade       2004/08/26 17:59:29

  Modified:    src/java/org/apache/turbine/modules/actions Tag:
                        TURBINE_2_3_BRANCH LogoutUser.java
  Log:
  Commons Configuration no longer returns a default value but throws an exception if a 
property is missing and no default value is given.
  How many of these are we yet to find?
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.11.2.3  +2 -2      
jakarta-turbine-2/src/java/org/apache/turbine/modules/actions/LogoutUser.java
  
  Index: LogoutUser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/actions/LogoutUser.java,v
  retrieving revision 1.11.2.2
  retrieving revision 1.11.2.3
  diff -u -r1.11.2.2 -r1.11.2.3
  --- LogoutUser.java   20 May 2004 03:03:53 -0000      1.11.2.2
  +++ LogoutUser.java   27 Aug 2004 00:59:29 -0000      1.11.2.3
  @@ -75,7 +75,7 @@
   
           Configuration conf = Turbine.getConfiguration();
   
  -        data.setMessage(conf.getString(TurbineConstants.LOGOUT_MESSAGE));
  +        data.setMessage(conf.getString(TurbineConstants.LOGOUT_MESSAGE, ""));
   
           // This will cause the acl to be removed from the session in
           // the Turbine servlet code.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to