[
https://issues.apache.org/jira/browse/LANG-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358585#comment-14358585
]
Fabian Lange commented on LANG-1093:
------------------------------------
Thanks for the feedback,
I actually considered even dropping the 0 len case. Because we have a dedicated
API for that. On the other hand I thought, if its inspired by the quirky API,
then I could keep also that edge case?
The null cause is "covered" the same way as the other methds do it by saying
"or an empty string" for return.
> Add ClassUtils.getAbbreviatedName
> ---------------------------------
>
> Key: LANG-1093
> URL: https://issues.apache.org/jira/browse/LANG-1093
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Fabian Lange
> Labels: github
> Fix For: Review Patch
>
>
> It would be really nice to have a class name shortener functionality
> available similar to what some logger frameworks use.
> I took the idea for my implementation from logback, including the quirky
> treatment of the desired length argument, feel free to discuss on the PR/here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)