)]}' { "commit": "ce134af7a0a5f98d4929da9dd97b1c33b53b73e1", "tree": "41c1c1f42331fca2bc27e372239993566135971c", "parents": [ "2ef6dbaa1f5352cc70c499e9eda33bc957592ff2" ], "author": { "name": "Christian Aistleitner", "email": "christian@quelltextlich.at", "time": "Sun Jan 27 12:15:05 2013 +0100" }, "committer": { "name": "Christian Aistleitner", "email": "christian@quelltextlich.at", "time": "Mon Jan 28 20:38:48 2013 +0100" }, "message": "Fix comments without approvals\n\nCommentAddedEvent\u0027s approvals field is null (see gerrit\u0027s\nChangeHookRunner), if there are no approvals, so checking only for\napprovals.length or iterating over approvals raised a\nNullPointerException if the comment did not provide approvals.\n\nChange-Id: I99153554ced10368556bc9354ab2de3188df764d\n", "tree_diff": [ { "type": "modify", "old_id": "0c8be83bf5ee3d625b08371f2f1f7be75a9d15cc", "old_mode": 33188, "old_path": "hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddComment.java", "new_id": "36fffd03206df71f4918e39526c6fc19a3793dcb", "new_mode": 33188, "new_path": "hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddComment.java" }, { "type": "modify", "old_id": "8fc99efda2971d276be78033df007b7ec645891f", "old_mode": 33188, "old_path": "hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterChangeState.java", "new_id": "7b2e7bdf471f0801f33af55aff4c2505d40dfb07", "new_mode": 33188, "new_path": "hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterChangeState.java" } ] }