- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for releaseNullIsNoop (0.07 sec)
-
src/test/java/jcifs/smb/BufferCacheImplTest.java
} // Edge: releasing null must be a no-op without exceptions @Test @DisplayName("releaseBuffer(null) is a no-op and does not throw") void releaseNullIsNoop() { BufferCacheImpl impl = new BufferCacheImpl(1, 4); assertDoesNotThrow(() -> impl.releaseBuffer(null)); // Subsequent get should still work assertEquals(4, impl.getBuffer().length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0)