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

3
LINES

< > BotCompany Repo | #1012489 // absoluteURL - make URL absolute by adding http://

JavaX fragment (include)

static S absoluteURL(S url) {
  ret isAbsoluteURL(url) ? url : "http://" + url;
}

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: #1012489
Snippet name: absoluteURL - make URL absolute by adding http://
Eternal ID of this version: #1012489/1
Text MD5: 1b83636e05a55571b5cf4ff5bc290110
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-03 23:44:35
Source code size: 83 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 352 / 378
Referenced in: [show references]