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

4
LINES

< > BotCompany Repo | #1016158 // assertExists

JavaX fragment (include)

1  
static File assertExists(File f) {
2  
  if (!fileExists(f)) fail("File not found: " + f);
3  
  ret f;
4  
}

Author comment

Began life as a copy of #1013716

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016158
Snippet name: assertExists
Eternal ID of this version: #1016158/1
Text MD5: 1a188e7ed56d010cca9040826f920ea4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-07 18:52:32
Source code size: 100 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 419 / 427
Referenced in: [show references]