Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1017149 // addDefaultVMOption

JavaX fragment (include)

sbool addDefaultVMOption(S option) {
  S s = defaultVMArgs(), old = s;
  if (!s.contains(option)) // rough
    s = trim(s + " " + option);
  if (eq(old, s)) false;
  ret true with setDefaultVMArgs(s);
}

Author comment

Began life as a copy of #1011289

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017149
Snippet name: addDefaultVMOption
Eternal ID of this version: #1017149/2
Text MD5: be609b29cbb03abd3fb533c83dbad839
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 12:44:19
Source code size: 208 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 428 / 467
Version history: 1 change(s)
Referenced in: [show references]