mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +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 String path;
|
||||||
private boolean directory;
|
private boolean directory;
|
||||||
private String description;
|
private String description;
|
||||||
private int length;
|
private long length;
|
||||||
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||||
private Instant lastModified;
|
private Instant lastModified;
|
||||||
private SubRepositoryDto subRepository;
|
private SubRepositoryDto subRepository;
|
||||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||||
|
|||||||
Reference in New Issue
Block a user