You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/02/28 19:13:00 UTC

[jira] [Commented] (GEODE-4733) Replace and remove trivial methods from ObjectUtils

    [ https://issues.apache.org/jira/browse/GEODE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380869#comment-16380869 ] 

ASF subversion and git services commented on GEODE-4733:
--------------------------------------------------------

Commit 4ad633773b1fffe9ce5a71ea95fc5410d54d90fc in geode's branch refs/heads/develop from [~prhomberg]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4ad6337 ]

GEODE-4733: Remove unused and inline trivial ObjectUtils methods.



> Replace and remove trivial methods from ObjectUtils
> ---------------------------------------------------
>
>                 Key: GEODE-4733
>                 URL: https://issues.apache.org/jira/browse/GEODE-4733
>             Project: Geode
>          Issue Type: Sub-task
>            Reporter: Patrick Rhomberg
>            Assignee: Patrick Rhomberg
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> For instance, {{defaultIfNull(T... values)}} is exclusively called with two input parameters, while the method name and signature makes it unclear that the second value is meant to be the default value if the first parameter is null.
> This method can be cleanly replaced by a ternary {{v1 != null ? v1 : v2}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)