ASF Bugzilla – Attachment 23170 Details for
Bug 46544
[PATCH] Add main() method to org.apache.poi.hssf.extractor.ExcelExtractor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes filename parsing in r737173
fix_filename_parsing.patch (text/plain), 874 bytes, created by
Georger Araujo
on 2009-01-23 14:59:13 UTC
(
hide
)
Description:
Patch that fixes filename parsing in r737173
Filename:
MIME Type:
Creator:
Georger Araujo
Created:
2009-01-23 14:59:13 UTC
Size:
874 bytes
patch
obsolete
>--- ExcelExtractor.java.orig 2009-01-23 20:12:14 +0000 >+++ ExcelExtractor.java 2009-01-23 22:50:44 +0000 >@@ -96,12 +96,13 @@ > if (inputFile != null) { > throw new CommandParseException("Only one input file can be supplied"); > } >- inputFile = new File(arg); >+ String inputFileName = args[i]; >+ inputFile = new File(inputFileName); > if (!inputFile.exists()) { >- throw new CommandParseException("Specified input file '" + arg + "' does not exist"); >+ throw new CommandParseException("Specified input file '" + inputFileName + "' does not exist"); > } > if (inputFile.isDirectory()) { >- throw new CommandParseException("Specified input file '" + arg + "' is a directory"); >+ throw new CommandParseException("Specified input file '" + inputFileName + "' is a directory"); > } > continue; > }
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 46544
:
23163
| 23170