Skip to content

Commit

Permalink
Adds toString() support
Browse files Browse the repository at this point in the history
  • Loading branch information
mbogoevici authored and pmuir committed May 28, 2012
1 parent 012dbee commit 18c3d74
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -57,6 +57,11 @@ public void setUrl(String url) {
this.url = url;
}

@Override
public String toString() {
return "[" + mediaType.getDescription() + "] " + url;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
Expand Down

0 comments on commit 18c3d74

Please sign in to comment.