On Wednesday, 26 December 2018 11:14:32 UTC-8, [email protected]  wrote:
> E.g. a jpa entity has a nullable field ID to be able to be saved. If I 
> request the entity from a repository which returns only saved entities, then 
> I have to use !!. operator to reference id values.
> Generally, such cases often occur when dealing with lifecycle-dependent 
> objects. I usually set a variable nullable to:
> * to force programmers to pay attention when using it
> * to make it possible to release memory by nullifying the variable

Yeah this is a valid one.
Even if we write a test that throws NPE, still it shows "1 of 2 branches 
missed".

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/9033e101-e533-45e5-8033-5390af9892ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to