You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by CodingFabian <gi...@git.apache.org> on 2015/03/12 11:28:06 UTC

[GitHub] commons-lang pull request: LANG-1093 - Add ClassUtils.getAbbreviat...

GitHub user CodingFabian opened a pull request:

    https://github.com/apache/commons-lang/pull/48

    LANG-1093 - Add ClassUtils.getAbbreviatedName()

    getAbbreviatedName() allows to create a short version of a class name.
    It accepts a parameter which gives the desired length, but ClassUtils will
    make sure that the result keeps most of its meaning, which can result in
    shorter or longer abbreviations than requested.
    
    This pattern is applied by logging frameworks and generally accepted to produce
    nice and understandable abbreviations.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/CodingFabian/commons-lang abbreviateClassName

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/48.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #48
    
----
commit 4eaba0fee42c7746d5e71ef9096d508c070ec41e
Author: Fabian Lange <la...@gmail.com>
Date:   2015-03-12T10:21:03Z

    LANG-1093 - Add ClassUtils.getAbbreviatedName()
    
    getAbbreviatedName() allows to create a short version of a class name.
    It accepts a parameter which gives the desired length, but ClassUtils will
    make sure that the result keeps most of its meaning, which can result in
    shorter or longer abbreviations than requested.
    
    This pattern is applied by logging frameworks and generally accepted to produce
    nice and understandable abbreviations.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


[GitHub] commons-lang pull request: LANG-1093 - Add ClassUtils.getAbbreviat...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/commons-lang/pull/48


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org