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)

1  
static AutoCloseable tempDBLock(Concepts concepts) {
2  
  ret tempLock(concepts.lock); // NO null propagation this time
3  
}
4  
5  
static AutoCloseable tempDBLock() {
6  
  ret tempDBLock(db_mainConcepts());
7  
}

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: 242 / 289
Referenced in: [show references]