- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for anyMatch (0.09 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
var activeResources = resourceManager.getActiveResources(); assertNotNull(activeResources); assertFalse(activeResources.isEmpty()); boolean found = activeResources.stream().anyMatch(desc -> desc.contains("TestResource")); assertTrue(found); } @Test @DisplayName("Test multiple close calls on managed resource") void testMultipleCloseOnManagedResource() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// Clean up metrics for connections that no longer exist connectionMetrics.entrySet().removeIf(entry -> { String key = entry.getKey(); boolean exists = connections.stream().anyMatch(conn -> getConnectionKey(conn).equals(key)); return !exists; }); } /** * Get detailed health statistics */ public PoolHealthMetrics getHealthMetrics() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Verify expected shares are present List<String> shareList = List.of(shares); boolean hasPublic = shareList.stream().anyMatch(s -> s.toLowerCase().contains("public")); boolean hasShared = shareList.stream().anyMatch(s -> s.toLowerCase().contains("shared")); assertTrue(hasPublic || hasShared, "Should contain expected shares");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0)