Skip to content

Commit

Permalink
Fix an error I introduced recently in inputFile().
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwright committed Sep 30, 2020
1 parent ca56c4c commit 4eaf2eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fjwright/runreduce/RunREDUCEFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ private void inputFile(boolean saveDir) {
List<File> fileList = fileChooser.showOpenMultipleDialog(RunREDUCE.primaryStage);
if (fileList != null) {
StringBuilder text = new StringBuilder("in \"");
text.append(fileList.get(0).toString());
for (File file : fileList/*.subList(1, fileList.size())*/) {
text.append(fileList.get(0).toString()); // first file
for (File file : fileList.subList(1, fileList.size())) { // remaining files
text.append("\", \"");
text.append(file.toString());
}
Expand Down

0 comments on commit 4eaf2eb

Please sign in to comment.