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

7
LINES

< > BotCompany Repo | #1025134 // tempDBLock - DB lock as AutoCloseable

JavaX fragment (include)

static AutoCloseable tempDBLock(Concepts concepts) {
  ret tempLock(concepts.lock); // NO null propagation this time
}

static AutoCloseable tempDBLock() {
  ret tempDBLock(db_mainConcepts());
}

Author comment

Began life as a copy of #1006056

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025134
Snippet name: tempDBLock - DB lock as AutoCloseable
Eternal ID of this version: #1025134/1
Text MD5: a345a88efdce85ace9cf33f5f5dc86e1
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-08 17:47:52
Source code size: 200 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 180 / 226
Referenced in: [show references]