Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2
-
None
Description
...and as a result, the object displays as empty, e.g. when debugging in Eclipse. I added
public String toString() {
return wrappedParameters.toString();
}
and that fixed it. Although, I am puzzled as to why this class both extends the Avalon Parameters class and is implemented using a delegate ('wrappedParameters') of that type. Why is not extending Parameters enough? The delegate seems like an unnecessary complication.
public String toString() {
return wrappedParameters.toString();
}
and that fixed it. Although, I am puzzled as to why this class both extends the Avalon Parameters class and is implemented using a delegate ('wrappedParameters') of that type. Why is not extending Parameters enough? The delegate seems like an unnecessary complication.