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

13
LINES

< > BotCompany Repo | #1005865 // setDefaultVMArgs

JavaX fragment (include)

1  
static void setDefaultVMArgs(S args) {
2  
  S oldArgs = javaxDefaultVMArgs();
3  
  args = trim(args);
4  
  if (neq(unnull(oldArgs), unnull(args))) {
5  
    print();
6  
    print("Changing default VM arguments from");
7  
    print("  " + oldArgs);
8  
    print("to");
9  
    print("  " + args);
10  
    print();
11  
    saveTextFile(javaxDataDir("default-vm-args"), nullIfEmpty(args));
12  
  }
13  
}

Author comment

Began life as a copy of #1005864

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005865
Snippet name: setDefaultVMArgs
Eternal ID of this version: #1005865/2
Text MD5: 189de515838dc414cc2f3a3179bae97b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-07 06:28:55
Source code size: 370 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 577 / 588
Version history: 1 change(s)
Referenced in: [show references]