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

5
LINES

< > BotCompany Repo | #1004130 // assertAbsolutePath

JavaX fragment (include)

static S assertAbsolutePath(S s) {
  if (!s.startsWith("/")) // TODO: Windows
    fail("Not an absolute path: " + s);
  ret s;
}

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: #1004130
Snippet name: assertAbsolutePath
Eternal ID of this version: #1004130/1
Text MD5: 4f7506622b0c7eb30c1f661c9984e30a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-07 21:27:39
Source code size: 132 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 495
Referenced in: [show references]