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 <lange.fab...@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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org