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

4
LINES

< > BotCompany Repo | #1020023 // saveTextFileIfNotNull

JavaX fragment (include)

static void saveTextFileIfNotNull(File f, S contents) {
  if (contents != null)
    saveTextFile(f, contents);
}

Author comment

Began life as a copy of #1016945

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020023
Snippet name: saveTextFileIfNotNull
Eternal ID of this version: #1020023/1
Text MD5: a6238823dfb3d02da0ad7fd5d56b5d5b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-04 13:40:49
Source code size: 115 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 297
Referenced in: [show references]