1 | static new LockedVar<WatchService> jdk_defaultWatchService_instance; |
2 | |
3 | static WatchService jdk_defaultWatchService() { |
4 | lock jdk_defaultWatchService_instance.lock; |
5 | if (!jdk_defaultWatchService_instance.has()) |
6 | jdk_defaultWatchService_instance.set(jdk_newWatchService()); |
7 | ret jdk_defaultWatchService_instance!; |
8 | } |
9 | |
10 | svoid cleanMeUp_jdk_defaultWatchService { |
11 | closeAutoCloseable(jdk_defaultWatchService_instance!); |
12 | } |
Began life as a copy of #1019341
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: | #1019342 |
Snippet name: | jdk_defaultWatchService |
Eternal ID of this version: | #1019342/5 |
Text MD5: | 3199d8efdaa1ed790181847e676abcce |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-03 12:55:46 |
Source code size: | 431 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 329 / 359 |
Version history: | 4 change(s) |
Referenced in: | [show references] |