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

5
LINES

< > BotCompany Repo | #1023378 // dm_trimFields

JavaX fragment (include)

1  
svoid dm_trimFields(S... fields) {
2  
  DynModule m = dm_current_mandatory();
3  
  for (S field : fields)
4  
    m.setField(field, trim((S) get(m, field)));
5  
}

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: #1023378
Snippet name: dm_trimFields
Eternal ID of this version: #1023378/2
Text MD5: ab306a3e735c9167aedd33cd4ae831b7
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-06-12 01:36:45
Source code size: 153 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 294
Version history: 1 change(s)
Referenced in: [show references]