Media and other Handler objects: Improve toString method

Description

In Media.java the toString() method currently returns this.url. As the url can be empty, this can result in a return null.
According to the javadoc it should return a textually representation of the object.

Especially if you are debugging, it is annoying to see that the current media-object is "null" (as the debugger calls toString). Therefor I'd love to see something more informative here.

Activity

Show:
Stefan Seifert
October 24, 2014, 3:12 PM

a0ec729b50bcb84a5a3f9205f1be866782ed2990

Stefan Seifert
October 24, 2014, 8:01 AM

ok, this applies to the corresponding objects in the other handlers as well

Fixed

Assignee

Unassigned

Reporter

Alexander Muthmann

Labels

None

Components

Fix versions

Priority

Minor