Libraryless. Click here for Pure Java version (2541L/16K).
1 | static File assertIsFile(File f) { |
2 | if (!isFile(f)) fail(isDir(f) ? "Directory, not file: " + f : "File not found: " + f); |
3 | ret f; |
4 | } |
Began life as a copy of #1016158
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029947 |
Snippet name: | assertIsFile |
Eternal ID of this version: | #1029947/1 |
Text MD5: | 6a195a6ca359dce537e118f65a920079 |
Transpilation MD5: | 39a99fe268bbedb40ed326ff24de8832 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-10-14 13:57:13 |
Source code size: | 137 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 191 / 259 |
Referenced in: | [show references] |