refactor: change toString format

This commit is contained in:
Gauthier Roebroeck 2020-04-08 17:16:11 +08:00
parent 1dab826622
commit b724a21256
2 changed files with 2 additions and 2 deletions

View file

@ -79,5 +79,5 @@ class Book(
fun fileSizeHumanReadable(): String = BinaryByteUnit.format(fileSize)
override fun toString(): String = url.toURI().path
override fun toString(): String = "Book($id, ${url.toURI().path})"
}

View file

@ -72,5 +72,5 @@ class Series(
this.books = books.toList()
}
override fun toString(): String = url.toURI().path
override fun toString(): String = "Series($id, ${url.toURI().path})"
}