|
|
@@ -222,7 +222,7 @@ public class ProjectServiceImpl implements ProjectService {
|
|
|
private CommitVO castCommitToVO(Commit commit,String branch) {
|
|
|
return CommitVO.builder()
|
|
|
.branch(branch)
|
|
|
-// .author(String.valueOf(commit.getAuthor().getId())) //todo 好像没这属性
|
|
|
+// .author(String.valueOf(commit.getAuthor().getId())) //todo 好像没这些属性
|
|
|
.authoredDate(commit.getAuthoredDate())
|
|
|
.authorEmail(commit.getAuthorEmail())
|
|
|
.authorName(commit.getAuthorName())
|
|
|
@@ -234,11 +234,11 @@ public class ProjectServiceImpl implements ProjectService {
|
|
|
.message(commit.getMessage())
|
|
|
.parentIds(commit.getParentIds())
|
|
|
.shortId(commit.getShortId())
|
|
|
- .stats(new CommitStatsVO(commit.getStats()))
|
|
|
- .status(commit.getStatus())
|
|
|
- .timestamp(commit.getTimestamp())
|
|
|
+// .stats(new CommitStatsVO(commit.getStats()))
|
|
|
+// .status(commit.getStatus())
|
|
|
+// .timestamp(commit.getTimestamp())
|
|
|
.title(commit.getTitle())
|
|
|
- .url(commit.getUrl())
|
|
|
+// .url(commit.getUrl())
|
|
|
.build();
|
|
|
}
|
|
|
|