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:
e32a5ad
)
JAL-3757 JAL-3689 use AppletFormat.checkProtocol to resolve startup file’s retrieval...
author
Jim Procter
<jprocter@issues.jalview.org>
Thu, 24 Sep 2020 13:36:17 +0000
(14:36 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 13 Nov 2020 19:59:16 +0000
(19:59 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
3bc92ec
..
c5e7b80
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-779,12
+779,7
@@
public class Jalview
Cache.removeProperty("STARTUP_FILE");
}
- protocol = DataSourceType.FILE;
-
- if (HttpUtils.startsWithHttpOrHttps(file))
- {
- protocol = DataSourceType.URL;
- }
+ protocol = AppletFormatAdapter.checkProtocol(file);
if (file.endsWith(".jar"))
{