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

5
LINES

< > BotCompany Repo | #1004041 // addHTTP

JavaX fragment (include)

static S addHTTP(S url) {
  if (url.indexOf("://") < 0)
    url = "http://" + url;
  ret url;
}

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: #1004041
Snippet name: addHTTP
Eternal ID of this version: #1004041/1
Text MD5: b19f65582c8384995513a682ff2a6b97
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-04 16:12:17
Source code size: 99 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 532 / 545
Referenced in: [show references]