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

4
LINES

< > BotCompany Repo | #1016691 // putInDirIfNotAbsolute

JavaX fragment (include)

static File putInDirIfNotAbsolute(File dir, S file) {
  File f = newFile(file);
  ret f.isAbsolute() ? f : newFile(dir, file);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016691
Snippet name: putInDirIfNotAbsolute
Eternal ID of this version: #1016691/2
Text MD5: 76078f31a96b1c4691afb8342953f805
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-28 01:01:02
Source code size: 131 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 426
Version history: 1 change(s)
Referenced in: [show references]