Files
gerrit/Documentation
Patrick Hiesel 7ab1b18ef8 Make SubmitRule#evaluate return an Optional instead of a Collection
The original specification used a Collection so that a single SubmitRule
can return multiple SubmitRecords. The main use-case was inheritance and
being open to more future usages.

Looking at this today, this seems strange because a SubmitRecord keeps a
list of SubmitRequirements, so even if it is not allowed to return a
Collection, it can still contribute a number of SubmitRecords.

This does invalidate the original reasoning from using a Collection
which is why this commit replaces it with an Optional.

Change-Id: I0dce438504b30fe102f5b83af9f7976659f1fae8
2019-08-26 14:49:53 +02:00
..
2018-09-24 23:07:53 +00:00
2018-09-27 16:45:10 +09:00
2019-05-22 13:29:46 +09:00
2019-06-21 21:24:41 +00:00
2019-06-21 21:24:41 +00:00
2019-04-22 18:01:29 -07:00
2018-12-04 14:46:51 +01:00
2018-09-12 13:27:01 +09:00
2018-12-04 14:46:51 +01:00
2017-09-30 15:47:14 +02:00
2019-07-15 09:09:48 +02:00