Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.8
-
Fix Version/s: 2.0.9, 3.0-alpha-1
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
It would be nice if Resouce had a toString() method so it would print something intelligent rather than simply a memory location in debug mode. (People have complained about this on the Users list, and I've noticed it myself – its annoying.)
Before this change, it prints like:
Resource@8f4fb3
With this patch, it prints like (assuming you accept my FileSet and PatternSet patches):
Resource {targetPath: /target/resource-test, filtering: true, FileSet {directory: null, PatternSet [includes: {}, excludes: {}]}}
You can accept one patch without the other, but to get rid of all the @340sd9 stuff when printing Resources in debug mode, we need all 3.