static new Map<S, S> slackGetUserName_map; static synchronized S slackGetUserName(S token, S userID) { if (userID == null) ret null; S userName = slackGetUserName_map.get(userID); if (userName == null) pcall { userName = (S) slackGetUserInfo(token, userID).get("name"); slackGetUserName_map.put(userID, userName); } ret userName; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001978 |
Snippet name: | slackGetUserName |
Eternal ID of this version: | #1001978/1 |
Text MD5: | 6e124273ad1166e5fa89fed2b45fc11d |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-10 20:34:59 |
Source code size: | 362 bytes / 11 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 615 / 1182 |
Referenced in: | [show references] |