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)

svoid unregisterConcept(Concept c) {
  if (c == null) ret;
  long id = c.id;
  c.delete();
  c.id = id;
}

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: 196 / 238
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)