View | Details | Raw Unified | Return to bug 46544
Collapse All | Expand All

(-)ExcelExtractor.java.orig (-3 / +4 lines)
Lines 96-107 Link Here
96
					if (inputFile != null) {
96
					if (inputFile != null) {
97
						throw new CommandParseException("Only one input file can be supplied");
97
						throw new CommandParseException("Only one input file can be supplied");
98
					}
98
					}
99
					inputFile = new File(arg);
99
					String inputFileName = args[i];
100
					inputFile = new File(inputFileName);
100
					if (!inputFile.exists()) {
101
					if (!inputFile.exists()) {
101
						throw new CommandParseException("Specified input file '" + arg + "' does not exist");
102
						throw new CommandParseException("Specified input file '" + inputFileName + "' does not exist");
102
					}
103
					}
103
					if (inputFile.isDirectory()) {
104
					if (inputFile.isDirectory()) {
104
						throw new CommandParseException("Specified input file '" + arg + "' is a directory");
105
						throw new CommandParseException("Specified input file '" + inputFileName + "' is a directory");
105
					}
106
					}
106
					continue;
107
					continue;
107
				}
108
				}

Return to bug 46544