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

3
LINES

< > BotCompany Repo | #1019027 // closeAutoCloseable

JavaX fragment (include)

svoid closeAutoCloseable(AutoCloseable c) {
  if (c != null) pcall { c.close(); }
}

Author comment

Began life as a copy of #1018885

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019027
Snippet name: closeAutoCloseable
Eternal ID of this version: #1019027/1
Text MD5: 1c20d7fd1d8188cba75694fc0ff4b95d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-21 14:22:54
Source code size: 85 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 324 / 360
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)