Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.1-rc-2
-
Fix Version/s: 1.1-rc-3
-
Component/s: groovy-jdk
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
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()+ "]";
}
Activity
Alex Tkachman
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Alex Tkachman [ ait ] |
Alex Tkachman
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |