ASF Bugzilla – Attachment 7375 Details for
Bug 21325
[PATCH] Praveen's patches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix the testcase, already
praveen.patch (text/plain), 1.86 KB, created by
Paul Krause
on 2003-07-18 15:53:50 UTC
(
hide
)
Description:
fix the testcase, already
Filename:
MIME Type:
Creator:
Paul Krause
Created:
2003-07-18 15:53:50 UTC
Size:
1.86 KB
patch
obsolete
>Index: HWPFDocFixture.java >=================================================================== >RCS file: /home/cvspublic/jakarta-poi/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java,v >retrieving revision 1.2 >diff -b -u -u -c -w -r1.2 HWPFDocFixture.java >cvs server: conflicting specifications of output style >*** HWPFDocFixture.java 17 Jul 2003 02:44:19 -0000 1.2 >--- HWPFDocFixture.java 18 Jul 2003 15:46:44 -0000 >*************** >*** 1,6 **** >--- 1,7 ---- > package org.apache.poi.hwpf; > > import java.io.FileInputStream; >+ import java.io.IOException; > > import org.apache.poi.poifs.filesystem.POIFSFileSystem; > import org.apache.poi.poifs.filesystem.DocumentEntry; >*************** >*** 19,36 **** > > } > >! public void setUp() > { >- try > { > >! String filename = System.getProperty("HSSF.testdata.path"); > > filename = filename + "/test.doc"; > > > POIFSFileSystem filesystem = new POIFSFileSystem(new FileInputStream( >! "C:\\test.doc")); > > DocumentEntry documentProps = > (DocumentEntry) filesystem.getRoot().getEntry("WordDocument"); >--- 20,36 ---- > > } > >! public void setUp() throws IOException > { > { > >! String filename = System.getProperty("HWPF.testdata.path"); > > filename = filename + "/test.doc"; > > > POIFSFileSystem filesystem = new POIFSFileSystem(new FileInputStream( >! filename)); > > DocumentEntry documentProps = > (DocumentEntry) filesystem.getRoot().getEntry("WordDocument"); >*************** >*** 51,60 **** > (DocumentEntry) filesystem.getRoot().getEntry(name); > _tableStream = new byte[tableProps.getSize()]; > filesystem.createDocumentInputStream(name).read(_tableStream); >- } >- catch (Throwable t) >- { >- t.printStackTrace(); > } > } > >--- 51,56 ----
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21325
:
7094
|
7095
|
7183
|
7184
|
7185
|
7241
|
7242
| 7375 |
7582
|
7661
|
7662
|
7966
|
7967
|
7968
|
7969