mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
Show modified date only when present and use long for length
This commit is contained in:
@@ -18,7 +18,8 @@ public class FileObjectDto extends HalRepresentation {
|
||||
private String path;
|
||||
private boolean directory;
|
||||
private String description;
|
||||
private int length;
|
||||
private long length;
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
private Instant lastModified;
|
||||
private SubRepositoryDto subRepository;
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
|
||||
Reference in New Issue
Block a user