RFR 9: JEP 290: Filter Incoming Serialization Data

Peter Levart peter.levart at gmail.com
Fri Jul 22 07:08:56 UTC 2016

On 07/22/2016 09:00 AM, Peter Levart wrote:
> If you think that such addition starts to become complex from 
> combinatorial standpoint then what about passing an additional enum 
> argument identifying a particular "event"? It would then be easy do 
> document the rest of parameters for each event type... 

...also, filter implementations then become more readable as they might 
use a switch statement on the enum parameter which would clearly 
stand-out in code and express the intent to all readers not only to 
those that read the documentation...


More information about the core-libs-dev mailing list