Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 971 for Helper (0.18 seconds)

  1. src/test/java/org/codelibs/fess/job/PythonJobTest.java

    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.helper.ProcessHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.InputStreamThread;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * {@snippet :
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
     *   Foo x = ....;
     *   WeakReference<Foo> weakRef = new WeakReference<>(x);
     *   // ... use x ...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    }),
                    // Recursively check children
                    element.children().flatMap(child -> findElementsWithAttribute(child, attributeName, attributeValue)));
        }
    
        /**
         * Helper methods extracted from BaseUpgradeGoal for compatibility fixes.
         */
        private boolean fixDuplicateDependenciesInSection(
                Element dependenciesElement, UpgradeContext context, String sectionName) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper class for system-level operations and utilities.
     * This class provides methods for managing system properties, handling JSP files,
     * normalizing configurations, and other system-related tasks.
     */
    public class SystemHelper {
    
        /**
         * Constructs a new system helper.
         */
        public SystemHelper() {
            // do nothing
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTransportImplTest.java

                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        // Helper: find field in class hierarchy
        private static Field findField(Class<?> clazz, String name) throws NoSuchFieldException {
            Class<?> current = clazz;
            while (current != null) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            assertTrue("Set-based lookup should be faster or comparable to array-based lookup for large datasets",
                    setDuration <= arrayDuration * 2); // Allow 2x margin for test stability
        }
    
        /**
         * Helper method to create a test FessConfig.
         */
        private FessConfig createTestFessConfig() {
            return new FessConfig.SimpleImpl() {
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verify that the CRUD mode matches the expected mode.
         * Throws validation error if modes don't match.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

            // nothing
        }
    
        // ===================================================================================
        //                                                                      General Helper
        //                                                                      ==============
        protected void assertObjectNotNull(String variableName, Object value) {
            if (variableName == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

            // nothing
        }
    
        // ===================================================================================
        //                                                                      General Helper
        //                                                                      ==============
        protected void assertObjectNotNull(String variableName, Object value) {
            if (variableName == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
Back to Top