elasticsearch/libs/core
David Turner b2127ec2f9
Introduce RefCounted#mustIncRef (#102515)
In several places we acquire a ref to a resource that we are certain is
not closed, so this commit adds a utility for asserting this to be the
case. This also helps a little with mocks since boolean methods like
`tryIncRef()` return `false` on mock objects by default, but void
methods like `mustIncRef()` default to being a no-op.
2023-11-23 16:40:43 -05:00
..
src Introduce RefCounted#mustIncRef (#102515) 2023-11-23 16:40:43 -05:00
build.gradle Provide default jarHell configuration dependencies (#90810) 2022-10-12 14:15:30 +02:00