cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: cvs commit: cocoon-2.1/src/blocks/xmldb/java/org/apache/cocoon/acting DbXMLAuthenticatorAction.java
Date Mon, 29 Mar 2004 22:35:33 GMT
antonio@apache.org wrote:

>  RCS file: /home/cvs//cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/DatabaseCookieAuthenticatorAction.java,v
>  
>
...

>  @@ -111,12 +112,10 @@
>                       append_session = parameters.getParameter("append-session",
>                       (String) this.settings.get("append-session"));
>   
>  -            if (create_session != null &&
>  -                    ("no".equals(create_session.trim()) || "false".equals(create_session.trim())))
{
>  +            if (create_session != null && BooleanUtils.toBoolean(create_session.trim()))
{
>                   cs = false;
>               }
>  -            if (append_session != null &&
>  -                    ("yes".equals(append_session.trim()) || "true".equals(append_session.trim())))
{
>  +            if (append_session != null && BooleanUtils.toBoolean(append_session.trim()))
{
>                   as = true;
>               }
>  
>

Not knowing much about commons lang... This does not look like a correct 
change.


Vadim



Mime
View raw message