dleslie 01/05/17 09:09:02 Modified: java/xdocs/sources/xalan xsltc_usage.xml Log: Simplified getting/setting system properties. Revision Changes Path 1.12 +2 -2 xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml Index: xsltc_usage.xml =================================================================== RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- xsltc_usage.xml 2001/05/17 15:12:54 1.11 +++ xsltc_usage.xml 2001/05/17 16:08:58 1.12 @@ -335,7 +335,7 @@ // Set the TransformerFactory system property. String key = "javax.xml.transformer.TransformerFactory"; String value = "org.apache.xalan.xsltc.runtime.TransformerFactoryImpl"; -Properties props = new Properties(System.getProperties()); +Properties props = System.getProperties(); props.put(key, value); System.setProperties(props); ... @@ -365,7 +365,7 @@ // Set the TransformerFactory system property. String key = "javax.xml.transformer.TransformerFactory"; String value = "org.apache.xalan.xsltc.runtime.TransformerFactoryImpl"; -Properties props = new Properties(System.getProperties()); +Properties props = System.getProperties(); props.put(key, value); System.setProperties(props); ...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
