nimo mayr created LANG-1466:
-------------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to