Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-07-26 12:41:48 -0400
committerKevin Sawicki2012-07-26 12:41:48 -0400
commitd86f041d7fbc55c6c47213895da65974673125e5 (patch)
tree6ce7e90e415d3ca82b0adda384679ae3e02b9264 /org.eclipse.egit.github.core
parentf0e4591c0b212c82e67cd7cb3d0728214172959c (diff)
downloadegit-github-d86f041d7fbc55c6c47213895da65974673125e5.tar.gz
egit-github-d86f041d7fbc55c6c47213895da65974673125e5.tar.xz
egit-github-d86f041d7fbc55c6c47213895da65974673125e5.zip
Add comment count field to Commit model class
Diffstat (limited to 'org.eclipse.egit.github.core')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Commit.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Commit.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Commit.java
index 4d753d85..9f17defb 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Commit.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Commit.java
@@ -25,6 +25,8 @@ public class Commit implements Serializable {
private CommitUser committer;
+ private int commentCount;
+
private List<Commit> parents;
private String message;
@@ -68,6 +70,22 @@ public class Commit implements Serializable {
}
/**
+ * @return commentCount
+ */
+ public int getCommentCount() {
+ return commentCount;
+ }
+
+ /**
+ * @param commentCount
+ * @return this commit
+ */
+ public Commit setCommentCount(int commentCount) {
+ this.commentCount = commentCount;
+ return this;
+ }
+
+ /**
* @return parents
*/
public List<Commit> getParents() {

Back to the top