Details
-
Improvement
-
Resolution: Fixed
-
Major
-
5.0-milestone-1
-
None
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
toString() methods should not be used as displayers. They shouldn't be substitutes for displayers. They should be used for printing logs/exceptions.
FTR this code is used to display attachment diff in the diff UI and in the watchlist HTML email.
Added in rev 62368e9423925fbd496a5cc057a076b37b62f9ee with message "[misc] Improve javadoc, add AttachmentDiff.toString()"
Attachments
Issue Links
- is related to
-
XWIKI-8928 Watchlist HTML email is displaying "null" when a new attachment is added
- Closed
-
XWIKI-8932 Improve the way changes are displayed in Watchlist notification emails
- Closed