commit | ce134af7a0a5f98d4929da9dd97b1c33b53b73e1 | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Sun Jan 27 12:15:05 2013 +0100 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Mon Jan 28 20:38:48 2013 +0100 |
tree | 41c1c1f42331fca2bc27e372239993566135971c | |
parent | 2ef6dbaa1f5352cc70c499e9eda33bc957592ff2 [diff] |
Fix comments without approvals CommentAddedEvent's approvals field is null (see gerrit's ChangeHookRunner), if there are no approvals, so checking only for approvals.length or iterating over approvals raised a NullPointerException if the comment did not provide approvals. Change-Id: I99153554ced10368556bc9354ab2de3188df764d