trivial: remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1455915 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37897c7c34
commit
415ce96a40
|
@ -156,9 +156,9 @@ public class ClassUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Gets the class name minus the package name from a {@code Class}.</p>
|
* <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>Consider using the Java 5 API {@link Class#getSimpleName()} instead.
|
||||||
* The one known difference is that this code will return {@code "Map.Entry"} while
|
* The one known difference is that this code will return {@code "Map.Entry"} while
|
||||||
* the {@code java.lang.Class} variant will simply return {@code "Entry"}. </p>
|
* the {@code java.lang.Class} variant will simply return {@code "Entry"}. </p>
|
||||||
*
|
*
|
||||||
* @param cls the class to get the short name for.
|
* @param cls the class to get the short name for.
|
||||||
|
@ -176,14 +176,14 @@ public class ClassUtils {
|
||||||
*
|
*
|
||||||
* <p>The string passed in is assumed to be a class name - it is not checked.</p>
|
* <p>The string passed in is assumed to be a class name - it is not checked.</p>
|
||||||
|
|
||||||
* <p>Note that this method differs from Class.getSimpleName() in that this will
|
* <p>Note that this method differs from Class.getSimpleName() in that this will
|
||||||
* return {@code "Map.Entry"} whilst the {@code java.lang.Class} variant will simply
|
* return {@code "Map.Entry"} whilst the {@code java.lang.Class} variant will simply
|
||||||
* return {@code "Entry"}. </p>
|
* return {@code "Entry"}. </p>
|
||||||
*
|
*
|
||||||
* @param className the className to get the short name for
|
* @param className the className to get the short name for
|
||||||
* @return the class name of the class without the package name or an empty string
|
* @return the class name of the class without the package name or an empty string
|
||||||
*/
|
*/
|
||||||
public static String getShortClassName(String className) {
|
public static String getShortClassName(String className) {
|
||||||
if (StringUtils.isEmpty(className)) {
|
if (StringUtils.isEmpty(className)) {
|
||||||
return StringUtils.EMPTY;
|
return StringUtils.EMPTY;
|
||||||
}
|
}
|
||||||
|
@ -523,7 +523,7 @@ public class ClassUtils {
|
||||||
/**
|
/**
|
||||||
* Returns whether the given {@code type} is a primitive or primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character},
|
* Returns whether the given {@code type} is a primitive or primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character},
|
||||||
* {@link Short}, {@link Integer}, {@link Long}, {@link Double}, {@link Float}).
|
* {@link Short}, {@link Integer}, {@link Long}, {@link Double}, {@link Float}).
|
||||||
*
|
*
|
||||||
* @param type
|
* @param type
|
||||||
* The class to query or null.
|
* The class to query or null.
|
||||||
* @return true if the given {@code type} is a primitive or primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character},
|
* @return true if the given {@code type} is a primitive or primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character},
|
||||||
|
@ -540,7 +540,7 @@ public class ClassUtils {
|
||||||
/**
|
/**
|
||||||
* Returns whether the given {@code type} is a primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character}, {@link Short},
|
* Returns whether the given {@code type} is a primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character}, {@link Short},
|
||||||
* {@link Integer}, {@link Long}, {@link Double}, {@link Float}).
|
* {@link Integer}, {@link Long}, {@link Double}, {@link Float}).
|
||||||
*
|
*
|
||||||
* @param type
|
* @param type
|
||||||
* The class to query or null.
|
* The class to query or null.
|
||||||
* @return true if the given {@code type} is a primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character}, {@link Short},
|
* @return true if the given {@code type} is a primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character}, {@link Short},
|
||||||
|
|
Loading…
Reference in New Issue