1 | static void saveTextFileIfNotNull(File f, S contents) { |
2 | if (contents != null) |
3 | saveTextFile(f, contents); |
4 | } |
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: | 261 / 300 |
Referenced in: | [show references] |