You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mi...@apache.org on 2004/08/28 00:50:30 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/serializer OutputPropertiesFactory.java

minchau     2004/08/27 15:50:30

  Modified:    java/src/org/apache/xml/serializer
                        OutputPropertiesFactory.java
  Log:
  Added a comment.
  
  Revision  Changes    Path
  1.7       +3 -2      xml-xalan/java/src/org/apache/xml/serializer/OutputPropertiesFactory.java
  
  Index: OutputPropertiesFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/OutputPropertiesFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- OutputPropertiesFactory.java	1 Apr 2004 18:45:30 -0000	1.6
  +++ OutputPropertiesFactory.java	27 Aug 2004 22:50:30 -0000	1.7
  @@ -241,7 +241,8 @@
                       new Object[] { fileName, method }),
                   ioe);
           }
  -
  +        // wrap these cached defaultProperties in a new Property object just so
  +        // that the caller of this method can't modify the default values
           return new Properties(defaultProperties);
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org