format empty records and anonymous types as a single line

This commit is contained in:
Athou
2026-05-08 17:41:07 +02:00
parent 3dd298c0c8
commit f207bfaddd
10 changed files with 20 additions and 34 deletions

View File

@@ -300,11 +300,9 @@ public class HttpGetter {
}
private record HttpResponse(int code, String lastModifiedHeader, String eTagHeader, CacheControl cacheControl, Instant retryAfter,
byte[] content, String contentType, String urlAfterRedirect) {
}
byte[] content, String contentType, String urlAfterRedirect) {}
public record HttpResult(byte[] content, String contentType, String lastModifiedSince, String eTag, String urlAfterRedirect,
Duration validFor) {
}
Duration validFor) {}
}