Warning: session_start(): open(/var/lib/php/sessions/sess_pemhsh8tu464l35bqjknhmtsv7, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
quoteIfNotIdentifier [1001194]

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

4
LINES

< > BotCompany Repo | #1001194 // quoteIfNotIdentifier

JavaX fragment (include)

1  
static S quoteIfNotIdentifier(S s) {
2  
  if (s == null) return null;
3  
  return isJavaIdentifier(s) ? s : quote(s);
4  
}

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: #1001194
Snippet name: quoteIfNotIdentifier
Eternal ID of this version: #1001194/1
Text MD5: 8010aa16c3f1e97cbd90095d5ddec6c7
Author: stefan
Category: javacx
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-29 17:34:05
Source code size: 116 bytes / 4 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1281 / 2248
Referenced in: [show references]