cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/bean/helpers BeanConfigurator.java
Date Fri, 06 Feb 2004 16:40:48 GMT
unico       2004/02/06 08:40:48

  Modified:    src/java/org/apache/cocoon/bean/helpers
                        BeanConfigurator.java
  Log:
  fix some CocoonWrapper.set* options that were set wrongly
  
  Revision  Changes    Path
  1.5       +3 -12     cocoon-2.1/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java
  
  Index: BeanConfigurator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BeanConfigurator.java	14 Oct 2003 22:42:21 -0000	1.4
  +++ BeanConfigurator.java	6 Feb 2004 16:40:48 -0000	1.5
  @@ -165,23 +165,14 @@
           if (hasAttribute(root, ATTR_CHECKSUMS_URI)) {
               cocoon.setChecksumURI(getAttributeValue(root, ATTR_CHECKSUMS_URI));
           }
  -        if (hasAttribute(root, ATTR_CHECKSUMS_URI)) {
  -            cocoon.setChecksumURI(getAttributeValue(root, ATTR_CHECKSUMS_URI));
  -        }
  -        if (hasAttribute(root, ATTR_CHECKSUMS_URI)) {
  -            cocoon.setChecksumURI(getAttributeValue(root, ATTR_CHECKSUMS_URI));
  -        }
  -        if (hasAttribute(root, ATTR_CHECKSUMS_URI)) {
  -            cocoon.setChecksumURI(getAttributeValue(root, ATTR_CHECKSUMS_URI));
  -        }
           if (hasAttribute(root, ATTR_AGENT)) {
               cocoon.setAgentOptions(getAttributeValue(root, ATTR_AGENT));
           }
           if (hasAttribute(root, ATTR_ACCEPT)) {
  -            cocoon.setAgentOptions(getAttributeValue(root, ATTR_ACCEPT));
  +            cocoon.setAcceptOptions(getAttributeValue(root, ATTR_ACCEPT));
           }
           if (hasAttribute(root, ATTR_DEFAULT_FILENAME)) {
  -            cocoon.setAgentOptions(getAttributeValue(root, ATTR_DEFAULT_FILENAME));
  +            cocoon.setDefaultFilename(getAttributeValue(root, ATTR_DEFAULT_FILENAME));
           }
   
           if (destDir == null || destDir.length() == 0) {
  
  
  

Mime
View raw message