cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: cvs commit: cocoon-2.2/src/java/org/apache/cocoon Cocoon.java
Date Fri, 24 Oct 2003 13:21:24 GMT
What about removing all this deprecated stuff like the below properties??

Joerg

>            // first check for deprecated property to be compatible:
>            String parser = System.getProperty(Constants.DEPRECATED_PARSER_PROPERTY, Constants.DEFAULT_PARSER);
>            if ( !Constants.DEFAULT_PARSER.equals( parser ) ) {
>   -            this.getLogger().warn("Deprecated property " +Constants.DEPRECATED_PARSER_PROPERTY+
" is used. Please use "+Constants.PARSER_PROPERTY+" instead.");
>   +            getLogger().warn("Deprecated property " +
>   +                             Constants.DEPRECATED_PARSER_PROPERTY + " is used. Please
use " +
>   +                             Constants.PARSER_PROPERTY + " instead.");
>                if ( "org.apache.cocoon.components.parser.XercesParser".equals(parser)
) {
>                    parser = XercesParser.class.getName();
>                } else {
>   -                this.getLogger().warn("Unknown value for deprecated property: " +
>   -                                      Constants.DEPRECATED_PARSER_PROPERTY + ", value:
" + parser +
>   -                                      ". If you experience problems during startup,
check the parser configuration section of the documentation.");
>   +                getLogger().warn("Unknown value for deprecated property: " +
>   +                                 Constants.DEPRECATED_PARSER_PROPERTY + ", value:
" + parser +
>   +                                 ". If you experience problems during startup, check
the parser configuration section of the documentation.");
>                }
>            } else {
>                parser = System.getProperty(Constants.PARSER_PROPERTY, Constants.DEFAULT_PARSER);
>   @@ -520,7 +522,6 @@
>            }


-- 
System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


Mime
View raw message