small code improvements
This commit is contained in:
parent
ba6a889d35
commit
bb406ead06
9 changed files with 31 additions and 24 deletions
|
@ -8,4 +8,12 @@ import java.util.Set;
|
|||
|
||||
public record LinkDto(Username creator, LinkUrl url, Set<Category> categories, Set<Tag> tags) {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return
|
||||
url +
|
||||
" by " + creator +
|
||||
" categories: " + categories +
|
||||
" tags:" + tags;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue