Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1023012 // dm_setFieldUnlessNull - setField unless value is null

JavaX fragment (include)

svoid dm_setFieldUnlessNull(S field, O value) {
  if (value != null)
    dm_current_mandatory().setField(field, value);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023012
Snippet name: dm_setFieldUnlessNull - setField unless value is null
Eternal ID of this version: #1023012/1
Text MD5: f3871de9d0a2bcb8f772e8acfc68dc86
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-20 01:23:25
Source code size: 124 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 257 / 311
Referenced in: [show references]