Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 538 for catching (0.07 seconds)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

     * </ul>
     *
     * <p>Children combination modes (specified by {@code combine.children} attribute):</p>
     * <ul>
     *   <li>{@code merge} (default): Merges elements with matching names</li>
     *   <li>{@code append}: Adds elements as siblings</li>
     * </ul>
     *
     * <p>Self combination modes (specified by {@code combine.self} attribute):</p>
     * <ul>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. docs/features/interceptors.md

    ```java
    /** Dangerous interceptor that rewrites the server's cache-control header. */
    private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            "Content-Type".equals(fieldName, ignoreCase = true)
      }
    }
    
    private fun Request.requestForCache(): Request {
      val cacheUrlOverride = cacheUrlOverride
    
      // Allow POST and QUERY caching only when there is a cacheUrlOverride
      return if (cacheUrlOverride != null && (HttpMethod.isCacheable(method) || method == "POST")) {
        newBuilder()
          .get()
          .url(cacheUrlOverride)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         * gets injected by the Plexus container after the mojo has been constructed. Therefore, simply call this
         * method directly whenever you need the logger, it is fast enough and needs no caching.
         *
         * @see org.apache.maven.plugin.Mojo#getLog()
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        @Override
        public Log getLog() {
            if (log == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      private static final class GetCheckedTypeValidatorHolder {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			},
    			hasRules: false,
    		},
    		{ // PUT version with no matching tags
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[0],
    				},
    			},
    			opts: ObjectOpts{
    				IsLatest: true,
    				Name:     "obj-1",
    				Size:     1 * humanize.MiByte,
    			},
    			hasRules: false,
    		},
    		{ // PUT version with matching tags
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[0],
    				},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests the object generated
     * by a G, selecting appropriate tests by matching them against specified features.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named}) return this type, so that Builder methods of more derived
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint));
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      private static final class GetCheckedTypeValidatorHolder {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            method.setAccessible(true);
            final boolean result = (boolean) method.invoke(crawlerThread, urlQueue);
    
            assertFalse(result);
        }
    
        /**
         * Test isValid method with URL not matching filter.
         */
        public void test_isValid_urlNotMatchingFilter() throws Exception {
            final UrlQueue<?> urlQueue = new UrlQueueImpl<>();
            urlQueue.setUrl("http://example.com/");
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.3K bytes
    - Click Count (0)
Back to Top