Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 269 for removeIf (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

         * </ul>
         * Additionally, it strips invalid XML characters from the input string.
         *
         * @param value the input string to be escaped
         * @return the escaped XML string with invalid characters removed, or empty string if value is null
         */
        public static String escapeXml(final String value) {
            if (value == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/FileNotifyInformationTest.java

                        | FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE;
    
                // Remove FILE_NOTIFY_CHANGE_SIZE flag
                flags &= ~FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE;
    
                // Verify FILE_NOTIFY_CHANGE_SIZE is removed
                assertFalse((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE) != 0);
    
                // Verify other flags are still present
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

            sitemapsLocal.set(sitemaps);
        }
    
        /**
         * Removes sitemaps from the thread-local storage and returns them.
         * @return An array of sitemap URLs, or null if none were present.
         */
        public String[] removeSitemaps() {
            final String[] sitemaps = sitemapsLocal.get();
            if (sitemaps != null) {
                sitemapsLocal.remove();
            }
            return sitemaps;
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Sanitizes a string for safe logging (removes control characters)
         *
         * @param input the string to sanitize
         * @return sanitized string safe for logging
         */
        public static String sanitizeForLogging(String input) {
            if (input == null) {
                return "null";
            }
            // Remove control characters and limit length
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    log(buf);
                }
            });
        }
    
        /**
         * Marks statistics tracking as complete for the specified crawler object.
         * Decrements the reference count and if it reaches zero, removes the
         * statistics object from cache and outputs the final statistics.
         *
         * @param keyObj the crawler object to complete tracking for
         */
        public void done(final Object keyObj) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportPoolTest.java

            @Test
            @DisplayName("Should handle concurrent remove operations")
            void testConcurrentRemoveOperations() throws InterruptedException {
                // Given
                SmbTransport transport2 = mock(SmbTransport.class);
                doNothing().when(transportPool).removeTransport(any());
    
                // When - simulate concurrent removes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.setActive(false);
                // Cancel any pending notifications
                cancelNotification(handle);
                // Clean up failure count to prevent memory leak
                failureCounts.remove(directoryPath);
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

            return context != null ? context.getCurrentHash() : null;
        }
    
        /**
         * Finalizes and removes the preauth integrity context for a session.
         *
         * @param sessionId the session identifier
         */
        public void finalizeSession(String sessionId) {
            PreauthIntegrityContext context = sessionContexts.remove(sessionId);
            if (context != null) {
                context.invalidate();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            crawlingInfoHelper.putToInfoMap(Constants.DATA_INDEX_SIZE, Long.toString(indexUpdateCallback.getDocumentSize()));
    
            for (final String sid : sessionIdList) {
                // remove config
                ComponentUtil.getCrawlingConfigHelper().remove(sid);
            }
    
        }
    
        /**
         * Inner thread class for executing data store crawling operations.
         * Each thread handles crawling for a single data configuration,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging expired thumbnail files from the system.
     * This job removes thumbnail files that have exceeded their configured expiration time
     * to prevent disk space from being consumed by old thumbnails.
     */
    public class PurgeThumbnailJob {
        /** Logger instance for this class */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top