commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1360) Add methods to ObjectUtils to get various forms of class names in a null-safe manner
Date Sat, 21 Oct 2017 16:26:00 GMT

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

Gary Gregory commented on LANG-1360:
------------------------------------

I do not think so: the point of putting  this code in ObjectUtils is that the methods operate
on _objects_, not classes (in a null safe manner.) 

Putting the code in ClassUtils implies (to me) that we operate on Classes.. 

> Add methods to ObjectUtils to get various forms of class names in a null-safe manner
> ------------------------------------------------------------------------------------
>
>                 Key: LANG-1360
>                 URL: https://issues.apache.org/jira/browse/LANG-1360
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 3.7
>
>
> Add methods to ObjectUtils to get various forms of class names in a null-safe manner:
> - getClassName(Object)
> - getClassSimpleName(Object)
> - getClassCanonicalName(Object)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message