mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-23 20:45:07 +00:00
format empty records and anonymous types as a single line
This commit is contained in:
@@ -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) {}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user