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

10
LINES

< > BotCompany Repo | #1001807 // saveMainJava (function)

JavaX fragment (include)

1  
  static void saveMainJava(String s) throws IOException {
2  
    if (mainJava != null)
3  
      mainJava = s;
4  
    else
5  
      saveTextFile("output/main.java", s);
6  
  }
7  
  
8  
  static void saveMainJava(List<String> tok) throws IOException {
9  
    saveMainJava(join(tok));
10  
  }

Author comment

Began life as a copy of #2000325

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001807
Snippet name: saveMainJava (function)
Eternal ID of this version: #1001807/1
Text MD5: 470ab5e605fd363a68b944d1c2fd3987
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-15 20:10:20
Source code size: 272 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 753 / 2568
Referenced in: [show references]