1 | sbool addThingOnScreenDefinition(S md5, S text) {
|
2 | text = nullIfEmpty(text); |
3 | SS map = thingsOnScreenDefinitions(); |
4 | if (eq(map.get(md5), text)) false; |
5 | mapPutOrRemove(map, md5, text); |
6 | logStructure(screenClipCommentsFile(), ll(md5, text)); |
7 | logQuoted(appendToFileName(screenClipCommentsFile(), ".with-dates"), |
8 | "[" + localDateWithMilliseconds() + "] " + struct(ll(md5, text))); |
9 | true; |
10 | } |
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: | #1015192 |
| Snippet name: | addThingOnScreenDefinition - also removes |
| Eternal ID of this version: | #1015192/10 |
| Text MD5: | e02668e8fecb5d8256b30058482b3002 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-10 20:31:51 |
| Source code size: | 406 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 664 / 704 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |