commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (LANG-1466) new property "omitNullValues" ToStringBuilder
Date Thu, 24 Oct 2019 14:28:00 GMT

     [ https://issues.apache.org/jira/browse/LANG-1466?focusedWorklogId=333447&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-333447
]

ASF GitHub Bot logged work on LANG-1466:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Oct/19 14:27
            Start Date: 24/Oct/19 14:27
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on issue #473: LANG-1466 | excludeNullValues param
in reflectionToString method
URL: https://github.com/apache/commons-lang/pull/473#issuecomment-545944345
 
 
   
   [![Coverage Status](https://coveralls.io/builds/26525934/badge)](https://coveralls.io/builds/26525934)
   
   Coverage increased (+0.007%) to 95.364% when pulling **fba019e6eef3072161dcdef264888f73087df58c
on alasun:LANG-1466_ExcludeNullValuesInToStringBuilder** into **ac00199379a5fcc4db012d8eb1336c9d9802540d
on apache:master**.
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 333447)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Mime
View raw message