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

5
LINES

< > BotCompany Repo | #1011360 // web_setSourceIfEmpty

JavaX fragment (include)

static Web web_setSourceIfEmpty(Web web, S src) {
  if (web == null) null;
  if (empty(web.source)) web.source = src;
  ret web;
}

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: #1011360
Snippet name: web_setSourceIfEmpty
Eternal ID of this version: #1011360/2
Text MD5: 6fe93b4322cc956c08b8b2dc7cb8679c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-25 22:44:18
Source code size: 134 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 497 / 527
Version history: 1 change(s)
Referenced in: [show references]