package com.alorma.github.sdk.bean.dto.response;

import java.util.List;

public class GitCommit extends ShaUrl {

    public User committer;
    public List<ShaUrl> parents;
    public User author;
    public String message;
    public ShaUrl tree;
    public int comment_count;
}

@@ -108,16 +108,70 @@
 aUrl %7B%0A%0A
+    private static final int MAX_COMMIT_LENGHT = 80;%0A%0A
     publ
@@ -326,11 +326,262 @@
 t_count;
+%0A%0A    public String shortMessage() %7B%0A        if (message != null) %7B%0A            int start = 0;%0A            int end = Math.min(MAX_COMMIT_LENGHT, message.length());%0A%0A            return message.substring(start, end);%0A        %7D%0A        return null;%0A    %7D
 %0A%7D%0A

Fix for GitCommit shortMessage()