Javadoc does not specify... Is null allowed in Files.setAttribute() as an attribute value?
Francis Galiegue
fgaliegue at gmail.com
Mon Dec 8 15:30:01 UTC 2014
On Mon, Dec 8, 2014 at 4:27 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
[...]
>
> NPE is specified in the package documentation (general exceptions section),
> this was to avoid the noise of adding a @throws NPE to every method.
>
OK, I should really re-read all the javadoc once again (I missed that
"empty path" stuff but I ultimately think it's a design error --
nevermind).
In that case, and more generally, why doesn't the JDK use JSR 305?
--
Francis Galiegue, fgaliegue at gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/parboiled1/grappa (redde
Caesaris: https://github.com/sirthias)
More information about the nio-dev
mailing list