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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]