Skip to content

Commit

Permalink
Improve http toString
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Sep 23, 2024
1 parent 5d80ae4 commit 2928fbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ public String toString() {
return ToStringBuilder
.of(this.getClass())
.addObj("contentType", contentType)
.addStr("contentLength", FileSizeToTextConverter.fileSizeToString(contentLength))
.addObj("lastModified", lastModified)
.addObj("contentLength", FileSizeToTextConverter.fileSizeToString(contentLength))
.addObj("lastModified", Instant.ofEpochMilli(lastModified).toString())
.toString();
}
}

0 comments on commit 2928fbd

Please sign in to comment.