- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for releaseNullIsNoop (0.06 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0)