FasterXML / jackson-annotations

Core annotations (annotations that only depend on jackson-core) for Jackson data processor
https://github.com/FasterXML/jackson
Apache License 2.0
1.03k stars 330 forks source link

Update JsonInclude.java #66

Closed mastojun closed 9 years ago

mastojun commented 9 years ago

fix typo

mastojun commented 9 years ago

and, I think you need to update comment of NON_EMPTY. there is no comment about number types (int, Integer, double, etc...). I didn't know 0 is empty! :'(

cowtowncoder commented 9 years ago

Thank you! Yes, I agree, commentary should mention about empty primitives and booleans as well. One challenge is that annotations package does not implement behavior, so it is easy for javadocs and behavior to deviate. But I agree that information is most useful here.