Skip to content

Commit

Permalink
Fixed other classes that used this fileChooser
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed Jun 17, 2021
1 parent 5e79fd4 commit a7ab58e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/ru/ras/iph/impose/ImposeonA3.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static void main(String[] args) throws IOException, DocumentException {
String inputFileName = args[0];
inputFile = new File(inputFileName);
} else {
inputFile = FileChooser.chooseFile();
inputFile = FileChooser.chooseFile("");
}

if (inputFile == null || !inputFile.exists()) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/ru/ras/iph/impose/doubleView.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public static void main(String[] args) throws IOException, DocumentException {
inputFile1 = new File(inputFileName1);
inputFile2 = new File(inputFileName2);
} else {
inputFile1 = FileChooser.chooseFile();
inputFile2 = FileChooser.chooseFile();
inputFile1 = FileChooser.chooseFile("");
inputFile2 = FileChooser.chooseFile(inputFile2.getAbsolutePath());

}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ru/ras/iph/impose/splitByOutline.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void main(String[] args) throws IOException, DocumentException {
String inputFileName = args[0];
inputFile = new File(inputFileName);
} else {
inputFile = FileChooser.chooseFile();
inputFile = FileChooser.chooseFile("");
}

if (inputFile == null || !inputFile.exists()){
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ru/ras/iph/impose/splitOutline.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void main(String[] args) throws IOException, DocumentException {
inputFile1 = new File(inputFileName1);

} else {
inputFile1 = FileChooser.chooseFile();
inputFile1 = FileChooser.chooseFile("");

}

Expand Down

0 comments on commit a7ab58e

Please sign in to comment.