Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1606054 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5a1101da75
commit
e3ee532338
|
@ -1109,7 +1109,7 @@ private static String getCanonicalName(String className) {
|
||||||
className = StringUtils.deleteWhitespace(className);
|
className = StringUtils.deleteWhitespace(className);
|
||||||
if (className == null) {
|
if (className == null) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
}
|
||||||
int dim = 0;
|
int dim = 0;
|
||||||
while (className.startsWith("[")) {
|
while (className.startsWith("[")) {
|
||||||
dim++;
|
dim++;
|
||||||
|
@ -1136,7 +1136,6 @@ private static String getCanonicalName(String className) {
|
||||||
return canonicalClassNameBuffer.toString();
|
return canonicalClassNameBuffer.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an {@link Iterable} that can iterate over a class hierarchy in ascending (subclass to superclass) order,
|
* Get an {@link Iterable} that can iterate over a class hierarchy in ascending (subclass to superclass) order,
|
||||||
|
|
Loading…
Reference in New Issue