keiron 2002/08/01 23:31:24 Modified: src/org/apache/fop/layout/hyphenation Hyphenator.java Log: use buffered stream Revision Changes Path 1.7 +2 -2 xml-fop/src/org/apache/fop/layout/hyphenation/Hyphenator.java Index: Hyphenator.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/hyphenation/Hyphenator.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Hyphenator.java 22 Nov 2001 07:11:40 -0000 1.6 +++ Hyphenator.java 2 Aug 2002 06:31:24 -0000 1.7 @@ -151,7 +151,7 @@ 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();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]