aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-08-02 06:31:24 +0000
committerKeiron Liddle <keiron@apache.org>2002-08-02 06:31:24 +0000
commitcadb1a7a9b611e322da64c2f0b2726d4f472bcfd (patch)
tree390bc2981e919a9e1aa375b513f54ba6201009eb /src/org/apache/fop/layout
parent1d62c04a80d55779b84d523387a8a53f9b7cbf27 (diff)
downloadxmlgraphics-fop-cadb1a7a9b611e322da64c2f0b2726d4f472bcfd.tar.gz
xmlgraphics-fop-cadb1a7a9b611e322da64c2f0b2726d4f472bcfd.zip
use buffered stream
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout')
-rw-r--r--src/org/apache/fop/layout/hyphenation/Hyphenator.java2
1 files changed, 1 insertions, 1 deletions
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();