[
https://issues.apache.org/jira/browse/LANG-1466?focusedWorklogId=609004&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-609004
]
ASF GitHub Bot logged work on LANG-1466:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Jun/21 08:14
Start Date: 09/Jun/21 08:14
Worklog Time Spent: 10m
Work Description: alasun closed pull request #473:
URL: https://github.com/apache/commons-lang/pull/473
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 609004)
Time Spent: 40m (was: 0.5h)
> new property "omitNullValues" ToStringBuilder
> ---------------------------------------------
>
> Key: LANG-1466
> URL: https://issues.apache.org/jira/browse/LANG-1466
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.builder.*
> Affects Versions: 3.9
> Reporter: nimo mayr
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Actually, commons lang "{{ReflectionToStringBuilder"}} *cannot exclude null
> values*{{:}}
>
> {code:java}
> return ToStringBuilder.reflectionToString(object,
> ToStringStyle.MULTI_LINE_STYLE);{code}
> Please provide a new property "omitNullValues" to exclude null values from
> the "object"-string.
>
> {code:java}
> boolean omitNullValues = true;
> return ToStringBuilder.reflectionToString(object,
> ToStringStyle.MULTI_LINE_STYLE, omitNullValues);
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)