dont know what other people do, but I do not use assertions in production
code. in test code, I like to use assertJ whenever possible since it
provide more convenience methods and more descriptive failure messages than
junit assert.

On Wed, Jul 18, 2018, 6:52 PM Galen O'Sullivan <gosulli...@pivotal.io>
wrote:

> Hi all,
>
> I'm wondering what the collective's opinion of assertions is. I notice
> there's an org.apache.geode.internal.Assert class, which is used some
> places, and that plain old Java assertions are used in other places. Can we
> remove one of these and use the other? Should we be including assertions in
> new or refactored code?
>
> Thanks,
> Galen
>

Reply via email to