Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1-rc-2
-
None
-
Patch
Description
In DelegatingMetaClass.java, the toString method only returns the delegates toString method. There is no indication that the delegate has been wrapped.
Instead, it should return itself, followed by it's delegates toString method, similar to how MetaClassImpl does.
/* (non-Javadoc)
- @see java.lang.Object#toString()
*/
public String toString() {
return super.toString() + "[" + delegate.toString()+ "]";
}