svoid dynamicObject_releaseEmptyFieldValues(DynamicObject o) { if (o != null && o.fieldValues != null && empty(o.fieldValues)) o.fieldValues = null; }
Began life as a copy of #1024462
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024465 |
Snippet name: | dynamicObject_releaseEmptyFieldValues - set fieldValues = null if it's empty (save memory) |
Eternal ID of this version: | #1024465/1 |
Text MD5: | fd4f8c0f5564ca4da5403772af842e0f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-13 12:51:52 |
Source code size: | 159 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 191 / 233 |
Referenced in: | [show references] |