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

11
LINES

< > BotCompany Repo | #1008352 // editSnippetVerbose

JavaX fragment (include)

1  
static void editSnippetVerbose(S id, S text) {
2  
  print("Trying to edit snippet " + id + " with standard credentials (" + standardCredentialsUser() + "), new chars= " + l(text));
3  
  editSnippet(id, text);
4  
  print("Edit successful!");
5  
}
6  
7  
static void editSnippetVerbose(S id, S text, S user, S pass) {
8  
  print("Trying to edit snippet " + id + " as user " + user + (nempty(pass) ? " (+pw)" : " (no pw)";
9  
  editSnippet(id, text, user, pass);
10  
  print("Edit successful!");
11  
}

Author comment

Began life as a copy of #1002334

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: #1008352
Snippet name: editSnippetVerbose
Eternal ID of this version: #1008352/2
Text MD5: 75ab04689812cd1f7f796dab4e3dca32
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-09 15:13:53
Source code size: 476 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 568 / 603
Version history: 1 change(s)
Referenced in: [show references]