Libraryless. Click here for Pure Java version (50L/1K).
1 | svoid fixFieldValues(DynamicObject o) { |
2 | if (o == null) ret; |
3 | mapRemove(o.fieldValues, "ping_anyActions"); |
4 | mapRemove(o.fieldValues, "ping_pauseAll"); |
5 | mapRemove(o.fieldValues, "cleaningUp_flag"); |
6 | if (o cast ChangeTriggerable) o.change(); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034692 |
Snippet name: | fixFieldValues - remove fieldValues introduced by older buggy cleanUp method etc |
Eternal ID of this version: | #1034692/2 |
Text MD5: | 889145c156d8dd3197e87d045cc11804 |
Transpilation MD5: | 09531c14702638c99e476f2dd38acafb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-03 17:58:27 |
Source code size: | 252 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 130 / 202 |
Version history: | 1 change(s) |
Referenced in: | [show references] |