Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 275 for removeIf (1.78 sec)

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

                return this;
            }
    
            /**
             * Sets the flag indicating whether duplicate terms should be removed.
             *
             * @param duplicateTermRemoved true if duplicate terms should be removed, false otherwise
             * @return the current instance of {@link TextNormalizeContext}
             */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            if (parts.length != 8) {
                // Not a standard IPv6 address, return as-is
                return ipv6Address;
            }
    
            // Normalize each part (remove leading zeros)
            final String[] normalized = new String[8];
            for (int i = 0; i < 8; i++) {
                normalized[i] = parts[i].replaceFirst("^0+(?!$)", "");
                if (normalized[i].isEmpty()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("remove() throws UnsupportedOperationException")
        void removeThrows() throws Exception {
            SmbFile parent = newParent();
            ShareEnumIterator it = new ShareEnumIterator(parent, Collections.<FileEntry> emptyList().iterator(), null);
            UnsupportedOperationException ex = assertThrows(UnsupportedOperationException.class, it::remove);
            assertEquals("remove", ex.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(250, SmbConstants.DEFAULT_SSN_LIMIT);
            assertEquals(35000, SmbConstants.DEFAULT_CONN_TIMEOUT);
            // Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface
            // These tests should be removed or replaced with actual constants
        }
    
        /**
         * Test individual FLAGS2 constants.
         */
        @Test
        @DisplayName("FLAGS2 individual constants are correct")
        void flags2ConstantsTest() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

                return parent.toArray(a);
            }
    
            public boolean add(final E e) {
                return parent.add(e);
            }
    
            public boolean remove(final Object o) {
                return parent.remove(o);
            }
    
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

     * the ICUNormalizer instance.</p>
     *
     * <p>Example usage:</p>
     * <pre>
     * ICUNormalizer normalizer = new ICUNormalizer("Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC");
     * String normalizedText = normalizer.normalize("text to normalize", "field");
     * </pre>
     *
     * @see com.ibm.icu.text.Transliterator
     */
    public class ICUNormalizer implements Normalizer {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
                form.id = (String) entity.remove(fessConfig.getIndexFieldId());
                form.seqNo = (Long) entity.remove(fessConfig.getIndexFieldSeqNo());
                form.primaryTerm = (Long) entity.remove(fessConfig.getIndexFieldPrimaryTerm());
            }).orElse(() -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 22.7K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/app/service/GroupService.java

            groupBhv.insertOrUpdate(group, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a group from both LDAP and the database, and removes the group
         * association from all users that belong to this group.
         *
         * @param group the group entity to delete
         */
        public void delete(final Group group) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

    import org.codelibs.fess.app.service.UserInfoService;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging old log entries from the system.
     * This job removes old crawling sessions, search logs, job logs, and user info logs
     * based on configured retention periods. It helps maintain system performance by
     * preventing log tables from growing too large.
     */
    public class PurgeLogJob {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L);
            assertTrue(entry.hasChild(childName));
    
            // Remove the child
            entry.removeChild(childName);
            assertFalse(entry.hasChild(childName));
            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
            entry.removeChild("nonexistent.txt");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top