IDP-1004 and @Duration

Daniel Fisher dfisher at vt.edu
Fri Jul 8 10:19:40 EDT 2016


On Fri, Jul 8, 2016 at 6:21 AM, Rod Widdowson <rdw at steadingsoftware.com>
wrote:

>
> Any other bids on this?
>

My preference is not to introduce a new annotation.
I would move the existing annotation from the parameter to the method.

public @Duration void setFoo(long what)

There is potential for confusion either way, so I lean towards less code.
I don't feel strongly about it though.

--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160708/834b3b28/attachment.html>


More information about the dev mailing list