You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sa...@apache.org on 2002/06/28 23:28:10 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler XSLTC.java
santiagopg 2002/06/28 14:28:10
Modified: java/src/org/apache/xalan/xsltc/compiler XSLTC.java
Log:
Use a BufferedOutputStream to write classes.
Revision Changes Path
1.40 +5 -2 xml-xalan/java/src/org/apache/xalan/xsltc/compiler/XSLTC.java
Index: XSLTC.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/XSLTC.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- XSLTC.java 17 Jun 2002 18:37:11 -0000 1.39
+++ XSLTC.java 28 Jun 2002 21:28:10 -0000 1.40
@@ -688,7 +688,10 @@
try {
switch (_outputType) {
case FILE_OUTPUT:
- clazz.dump(getOutputFile(clazz.getClassName()));
+ clazz.dump(
+ new BufferedOutputStream(
+ new FileOutputStream(
+ getOutputFile(clazz.getClassName()))));
break;
case JAR_OUTPUT:
_classes.addElement(clazz);
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org