svoid addToDefaultVMArgs(S newArgs) { LS split = splitJavaVMArgs(newArgs); S originalArgs = javaxDefaultVMArgs(), args = originalArgs; for (S s : split) { S arg = takeFirst(s, smartIndexOf(s, '=')); if (contains(args, arg)) continue; args += " " + s; } if (neq(args, originalArgs)) setDefaultVMArgs(args); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018835 |
Snippet name: | addToDefaultVMArgs |
Eternal ID of this version: | #1018835/3 |
Text MD5: | 934bbb086e963389807aee6b67198d11 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-14 00:50:42 |
Source code size: | 343 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 362 / 406 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |