git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091085 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2011-04-11 14:18:46 +00:00
parent ca7f616594
commit aaadcb2b54
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ public class ClassUtils {
/**
* <p>Gets the class name minus the package name from a {@code Class}.</p>
*
* <p>Consider using the Java 5 API {@link Class#getSimpleName()} instead.</p>
*
* @param cls the class to get the short name for.
* @return the class name without the package name or an empty string