poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r737238 - /poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java
Date Fri, 23 Jan 2009 23:06:56 GMT
Author: josh
Date: Fri Jan 23 23:06:56 2009
New Revision: 737238

URL: http://svn.apache.org/viewvc?rev=737238&view=rev
Log:
Follow-up fix for r737173 (patch 46544) - filename arg was not properly parsed.

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java?rev=737238&r1=737237&r2=737238&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java Fri Jan 23 23:06:56
2009
@@ -89,7 +89,7 @@
 					break;
 				}
 				if ("-i".equals(arg)) {
-					i++; // step to next arg
+					arg = args[++i]; // step to next arg
 					if (i >= nArgs) {
 						throw new CommandParseException("Expected filename after '-i'");
 					}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message