Re: RFR(s): JDK-8170943 Collectors.partitioningBy should specify that false and true entries are always present

2016-12-09 Thread Paul Sandoz
+1 I was tempted to saying something more about an associated value if it was not operated on (accumulated and combined), but that’s probably api note territory. Paul. > On 8 Dec 2016, at 14:48, Stuart Marks wrote: > > Hi all, > > Please review this small spec change to the Collectors.partit

RFR(s): JDK-8170943 Collectors.partitioningBy should specify that false and true entries are always present

2016-12-08 Thread Stuart Marks
Hi all, Please review this small spec change to the Collectors.partitioningBy() methods, appended below. This collector returns Map. The change requires the implementation always to populate the returned map with entries for both false and true keys. The implementation already does this; the