Index: trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/extract/StreamProcessorApp.java |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | |
40 | 40 | protected File getOutputFile(int paramIndex) { |
41 | 41 | if (outputFile==null) { |
42 | | - if (args.getParameterCount()>=paramIndex) { |
| 42 | + if (args.getParameterCount()>paramIndex) { |
43 | 43 | String f = args.getParameter(paramIndex); |
44 | 44 | if (!f.equals("-")) outputFile = new File(f); |
45 | 45 | } |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | |
50 | 50 | protected String getInputPath(int paramIndex) { |
51 | 51 | if (inputPath==null) { |
52 | | - if (args.getParameterCount()>=paramIndex) { |
| 52 | + if (args.getParameterCount()>paramIndex) { |
53 | 53 | inputPath = args.getParameter(paramIndex); |
54 | 54 | } |
55 | 55 | } |