From cadb1a7a9b611e322da64c2f0b2726d4f472bcfd Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 2 Aug 2002 06:31:24 +0000 Subject: [PATCH] use buffered stream git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195047 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/layout/hyphenation/Hyphenator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/apache/fop/layout/hyphenation/Hyphenator.java b/src/org/apache/fop/layout/hyphenation/Hyphenator.java index 20b0ee372..23fe67337 100644 --- a/src/org/apache/fop/layout/hyphenation/Hyphenator.java +++ b/src/org/apache/fop/layout/hyphenation/Hyphenator.java @@ -151,7 +151,7 @@ public class Hyphenator { if (hyphenFile.exists()) { ObjectInputStream ois = null; try { - ois = new ObjectInputStream(new FileInputStream(hyphenFile)); + ois = new ObjectInputStream(new BufferedInputStream(new FileInputStream(hyphenFile))); hTree = (HyphenationTree)ois.readObject(); } catch (Exception e) { e.printStackTrace(); -- 2.39.5