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

4
LINES

< > BotCompany Repo | #1018885 // closeAutoCloseables

JavaX fragment (include)

1  
svoid closeAutoCloseables(Collection<AutoCloseable> l) {
2  
  if (l != null) for (AutoCloseable c : l)
3  
    pcall { c.close(); }
4  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018885
Snippet name: closeAutoCloseables
Eternal ID of this version: #1018885/1
Text MD5: a4e8b2aa285e4b649449da8e00b96698
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-15 15:03:47
Source code size: 129 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 345 / 387
Referenced in: [show references]