cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/generation XPathDirectoryGenerator.java
Date Fri, 07 Nov 2003 14:22:12 GMT
vgritsenko    2003/11/07 06:22:12

  Modified:    src/java/org/apache/cocoon/generation
                        XPathDirectoryGenerator.java
  Log:
  Boolean.valuOf(boolean) is not available on JDK1.3
  (see http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Boolean.html#valueOf(boolean) )
  
  Revision  Changes    Path
  1.7       +3 -4      cocoon-2.1/src/java/org/apache/cocoon/generation/XPathDirectoryGenerator.java
  
  Index: XPathDirectoryGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/generation/XPathDirectoryGenerator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XPathDirectoryGenerator.java	7 Nov 2003 13:00:17 -0000	1.6
  +++ XPathDirectoryGenerator.java	7 Nov 2003 14:22:12 -0000	1.7
  @@ -244,8 +244,7 @@
           final String mappings = par.getParameter("nsmapping", null);
   
           if (null != mappings) {
  -            final boolean mapping_reload =
  -                Boolean.valueOf(par.getParameterAsBoolean("nsmapping-reload", false)).booleanValue();
  +            final boolean mapping_reload = par.getParameterAsBoolean("nsmapping-reload",
false);
               final Source mappingSource = resolver.resolveURI(mappings);
               final String mappingKey = mappingSource.getURI();
               final MappingInfo mappingInfo = (MappingInfo)XPathDirectoryGenerator.mappingFiles.get(mappingKey);
  
  
  

Mime
View raw message