commit | c573d8abf66ccf21187defcd4818e85892a9507d | [log] [tgz] |
---|---|---|
author | Sasa Zivkov <sasa.zivkov@sap.com> | Fri Oct 11 16:38:08 2013 +0200 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Oct 16 14:13:08 2013 +0900 |
tree | 84f6b07563e1aedc6d26e6bc0ce22a02e95da37a | |
parent | 13b2190cc950293e4f50e5fb09064c711c1fc21c [diff] |
Simplify the GitReferenceUpdatedListener.Event API So far the Event exposed the getUpdates method which implied that one Event could contain updates of more than one reference. However, we never made use of that feature. The only implementation of the Event always returns only one Update. The assumption that one Event could contain more than one reference Update also made coding in [1] more complex than necessary. This change simplifies that API in the sense that one Event corresponds to one ref update only. [1] https://gerrit-review.googlesource.com/#/c/50351/2/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java Change-Id: Ifdb27e22ae83f30a6af7f0b4e6bf6acbd85fe6e4