Libraryless. Click here for Pure Java version (28L/1K).
1 | static AutoCloseable tempDeleteFile(File f) { |
2 | ret f == null ? null : autoCloseable { f.delete(); }; |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023922 |
Snippet name: | tempDeleteFile - AutoCloseable that deletes file |
Eternal ID of this version: | #1023922/1 |
Text MD5: | 9cdc5d612ce6cb763f915a63ac5a070f |
Transpilation MD5: | a58392cc8633653c216ae4c7492ab397 |
Author: | stefan |
Category: | javax / i.o. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-12 17:47:36 |
Source code size: | 105 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 218 / 299 |
Referenced in: | [show references] |