directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: Immutable SyntexCheckers
Date Sun, 19 Mar 2017 09:58:15 GMT
On 03/17/2017 11:00 AM, Emmanuel L├ęcharny wrote:
> The only requirement is that each SC has its own builder (we can't put
> this code in the abstract SC, because it's abstract...)

With some generics magic it should at least be possible to move common
stuff (setOid) to the parent.

Otherwise, I'm not sure if it's worth to create builders for all the
"simple" syntax checkers (Boolean, DirectoryString, etc.) or if just a
singleton immutable instance is sufficient.

But in general it makes sense to have immutable syntax checkers :)

View raw message