]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
buffered output stream
authorKeiron Liddle <keiron@apache.org>
Wed, 9 Jan 2002 11:35:15 +0000 (11:35 +0000)
committerKeiron Liddle <keiron@apache.org>
Wed, 9 Jan 2002 11:35:15 +0000 (11:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194621 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/tools/anttasks/SerializeHyphPattern.java

index db205d9b0b6f53d37a5f461c3f6d4b8a3aede48b..b8f3a8808f11721a3ee04daced76e784fe854d65 100644 (file)
@@ -111,7 +111,7 @@ public class SerializeHyphPattern extends MatchingTask {
         // serialize class
         try {
             ObjectOutputStream out =
-                new ObjectOutputStream(new FileOutputStream(outfile));
+                new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream(outfile)));
             out.writeObject(hTree);
             out.close();
         } catch (IOException ioe) {