Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for ensure (0.27 sec)

  1. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
                // but we mainly want to ensure the method signature is correct
                testTarget.expired();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

    import org.robolectric.annotation.Config
    
    @RunWith(RobolectricTestRunner::class)
    @Config(
      sdk = [23, 26, 30, 33, 35],
    )
    class DisabledInitialiserTest {
      @Before
      fun setContext() {
        // Ensure we aren't succeeding because of another test
        Platform.resetForTests()
        PlatformRegistry.applicationContext = null
      }
    
      @Test
      fun testWithoutContext() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "getName";
            String[] values = { "test" };
            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals(name, param.getName());
            // Call multiple times to ensure consistency
            assertEquals(name, param.getName());
            assertEquals(name, param.getName());
        }
    
        public void test_getValues() {
            // Test getValues method explicitly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. okhttp/okhttp3.pro

    # JSR 305 annotations are for embedding nullability information.
    -dontwarn javax.annotation.**
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    # May be used with robolectric or deliberate use of Bouncy Castle on Android
    -dontwarn okhttp3.internal.platform.**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:25:00 UTC 2025
    - 512 bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

              return of();
            case 1:
              /*
               * requireNonNull is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
              return of(requireNonNull(dedupedElements[0]));
            default:
              /*
               * The suppression is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            return duplicateHostBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a duplicate host configuration.
         *
         * <p>This method immediately refreshes the index to ensure the change is visible.
         * If the configuration already exists (based on ID), it will be updated;
         * otherwise, a new configuration will be created.</p>
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. .github/PULL_REQUEST_TEMPLATE.md

    https://git.k8s.io/community/contributors/devel/sig-release/release.md#issuepr-kind-label
    3. Ensure you have added or ran the appropriate tests for your PR: https://git.k8s.io/community/contributors/devel/sig-testing/testing.md
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Jun 06 14:40:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/CronExpression.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    /**
     * Validation constraint to ensure that a string is a valid cron expression.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           * cycle_suppress_list.txt.
           */
          private final AbstractService service;
    
          /**
           * This lock is used to ensure safe and correct cancellation, it ensures that a new task is
           * not scheduled while a cancel is ongoing. Also it protects the currentFuture variable to
           * ensure that it is assigned atomically with being scheduled.
           */
          private final ReentrantLock lock = new ReentrantLock();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top