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

8
LINES

< > BotCompany Repo | #1005689 // closeRandomAccessFile - registered version of RandomAccessFile.close()

JavaX fragment (include)

1  
static void closeRandomAccessFile(RandomAccessFile f) {
2  
  if (f != null) try {
3  
    f.close();
4  
    callJavaX("dropIO", f);
5  
  } catch (Throwable e) {
6  
    printStackTrace(e);
7  
  }
8  
}

Author comment

Began life as a copy of #1005687

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005689
Snippet name: closeRandomAccessFile - registered version of RandomAccessFile.close()
Eternal ID of this version: #1005689/1
Text MD5: 7d807939e0acac587f69a2cf429832e0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-10 22:50:38
Source code size: 184 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 484 / 671
Referenced in: [show references]