Use Java 5 getSimpleName API.

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

View File

@ -91,7 +91,7 @@ public int hashCode() {
*/
@Override
public String toString() {
StringBuilder builder = new StringBuilder(ClassUtils.getShortClassName(this, null));
StringBuilder builder = new StringBuilder(this.getClass().getSimpleName());
builder.append("(");
builder.append(getLeftElement());
builder.append(",");