Warning: session_start(): open(/var/lib/php/sessions/sess_ajqqel56uq8ncr0rimcf75iknb, 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
gazelle_copyRuleWithNewText [1022058]

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

7
LINES

< > BotCompany Repo | #1022058 // gazelle_copyRuleWithNewText

JavaX fragment (include)

1  
sS gazelle_copyRuleWithNewText(S ruleID, S newText) {
2  
  if (emptyAfterTrim(newText)) null;
3  
  PairS p = dm_textAndCommentOfRule(ruleID);
4  
  if (p == null) null;
5  
  gazelle_addRuleWithComment(newText, p.b);
6  
  ret dm_gazelle_addRuleWithComment_msg!;
7  
}

Author comment

Began life as a copy of #1022045

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022058
Snippet name: gazelle_copyRuleWithNewText
Eternal ID of this version: #1022058/1
Text MD5: 54277b7ca4008a9ae9660e27df063f86
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-06 08:10:49
Source code size: 252 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 686 / 697
Referenced in: [show references]