git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d27ff1
)
JAL-3446 I don't understand how this bug could be here.
author
BobHanson
<hansonr@stolaf.edu>
Tue, 2 Jun 2020 19:36:52 +0000
(14:36 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Tue, 2 Jun 2020 19:36:52 +0000
(14:36 -0500)
src/jalview/io/AppletFormatAdapter.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/AppletFormatAdapter.java
b/src/jalview/io/AppletFormatAdapter.java
index
4916bb3
..
f01bfdc
100755
(executable)
--- a/
src/jalview/io/AppletFormatAdapter.java
+++ b/
src/jalview/io/AppletFormatAdapter.java
@@
-158,11
+158,7
@@
public class AppletFormatAdapter
{
this.selectedFile = selectedFile;
- if (selectedFile != null)
- {
- this.inFile = selectedFile.getPath();
- }
- this.inFile = file;
+ inFile = (selectedFile == null ? file : selectedFile.getPath());
try
{
if (fileFormat.isStructureFile())