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

4
LINES

< > BotCompany Repo | #1023097 // saveTextFileWithBackup - backup original file if different

JavaX fragment (include)

1  
svoid saveTextFileWithBackup(File f, S text) {
2  
  backupTextFile(f, text);
3  
  saveTextFile(f, text);
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023097
Snippet name: saveTextFileWithBackup - backup original file if different
Eternal ID of this version: #1023097/2
Text MD5: 0d8959e1f5dfe51126662433f1bd9582
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-05 18:12:21
Source code size: 103 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 271 / 318
Version history: 1 change(s)
Referenced in: [show references]