Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Commit.java')
-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