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

6
LINES

< > BotCompany Repo | #1027550 // unregisterConcept - delete a concept, but keep its id field set

JavaX fragment (include)

1  
svoid unregisterConcept(Concept c) {
2  
  if (c == null) ret;
3  
  long id = c.id;
4  
  c.delete();
5  
  c.id = id;
6  
}

Author comment

Began life as a copy of #1027549

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027550
Snippet name: unregisterConcept - delete a concept, but keep its id field set
Eternal ID of this version: #1027550/1
Text MD5: 876573020ff4b20d76eb5eccdb9c599a
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-23 18:23:37
Source code size: 110 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 239
Referenced in: [show references]