JAL-629 Removal of unnecessary methods. Set pLTTD tempfac for EBIAlfafold. Simplify...
[jalview.git] / src / jalview / io / AppletFormatAdapter.java
index b5ed052..9a4e982 100755 (executable)
@@ -167,11 +167,7 @@ public class AppletFormatAdapter
   {
 
     this.selectedFile = selectedFile;
-    if (selectedFile != null)
-    {
-      this.inFile = selectedFile.getPath();
-    }
-    this.inFile = file;
+    this.inFile = selectedFile != null ? selectedFile.getPath() : file;
     try
     {
       if (fileFormat.isStructureFile())