mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-26 16:30:50 +01:00
Add missing change types to diff statistics
This commit is contained in:
@@ -81,6 +81,8 @@ public class DiffResultDto extends HalRepresentation {
|
||||
private int added;
|
||||
private int deleted;
|
||||
private int modified;
|
||||
private int renamed;
|
||||
private int copied;
|
||||
}
|
||||
|
||||
@Data
|
||||
|
||||
@@ -128,7 +128,9 @@ class DiffResultToDiffResultDtoMapper {
|
||||
DiffResultDto.DiffStatisticsDto diffStatisticsDto = new DiffResultDto.DiffStatisticsDto(
|
||||
diffStatistics.getAdded(),
|
||||
diffStatistics.getDeleted(),
|
||||
diffStatistics.getModified()
|
||||
diffStatistics.getModified(),
|
||||
diffStatistics.getRenamed(),
|
||||
diffStatistics.getCopied()
|
||||
);
|
||||
dto.setStatistics(diffStatisticsDto);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user