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:
736e66a
)
JAL-4059 Only run this once
author
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 15 Dec 2023 13:06:52 +0000
(13:06 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 15 Dec 2023 13:06:52 +0000
(13:06 +0000)
src/jalview/util/JalviewJSUtil.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/JalviewJSUtil.java
b/src/jalview/util/JalviewJSUtil.java
index
22f79a5
..
a14ebb5
100644
(file)
--- a/
src/jalview/util/JalviewJSUtil.java
+++ b/
src/jalview/util/JalviewJSUtil.java
@@
-186,8
+186,14
@@
public class JalviewJSUtil
return j2sNamespace;
}
+ private static boolean setArguments = false;
+
public static void getURLCommandArguments()
{
+ if (setArguments)
+ {
+ return;
+ }
// setting ArgParser.ignoreNonStringValues allows non-string args to be
// set with, e.g., --wrap=hello
@@
-319,6
+325,7
@@
public class JalviewJSUtil
*
* }
*/
+ setArguments = true;
} catch (Throwable t)
{
/**