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

3
LINES

< > BotCompany Repo | #1003985 // fileFromDir

JavaX fragment (include)

1  
static File fileFromDir(File f, S name) {
2  
  ret f.isDirectory() ? new File(f, name) : f;
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003985
Snippet name: fileFromDir
Eternal ID of this version: #1003985/1
Text MD5: a778878f0e9bb64b18867e1d923ed953
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-01 02:42:51
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 559 / 548
Referenced in: [show references]