svoid assertFileExtension(File f, S ext) { if (!hasExtension(f, ext)) fail("File " + f2s(f) + " doesn't have extension " + ext); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026830 |
Snippet name: | assertFileExtension |
Eternal ID of this version: | #1026830/3 |
Text MD5: | a8942852df88f5dfba38ff3e359174e9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-26 00:15:02 |
Source code size: | 139 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 242 / 260 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |