Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 1,593 for scratch (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build();
        try (Response response = client1.newCall(request).execute()) {
          System.out.println("Response 1 succeeded: " + response);
        } catch (IOException e) {
          System.out.println("Response 1 failed: " + e);
        }
    
        // Copy to customize OkHttp for this request.
        OkHttpClient client2 = client.newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            assertEquals("xyz", new String(resultData.getData()));
        }
    
        public void test_transform_null() {
            try {
                binaryTransformer.transform(null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    
        public void test_getData() throws Exception {
            final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java

                        if (impl != null) {
                            return (Slf4jConfiguration)
                                    Class.forName(impl).getDeclaredConstructor().newInstance();
                        }
                    } catch (IOException
                            | ClassNotFoundException
                            | NoSuchMethodException
                            | InvocationTargetException
                            | IllegalAccessException
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                    } catch (NumberFormatException e) {
                        throw new XmlPullParserException(e.getMessage(), parser, e);
                    }
                } else {
                    try {
                        DateFormat dateParser = new java.text.SimpleDateFormat(effectiveDateFormat, java.util.Locale.US);
                        return dateParser.parse(s);
                    } catch (java.text.ParseException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/StatsTesting.java

            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
          try {
            actualStats.populationVariance();
            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
          try {
            actualStats.min();
            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/xml/SchemaUtil.java

            assertArgumentNotNull("factory", factory);
            assertArgumentNotNull("schema", schema);
    
            try {
                return factory.newSchema(schema);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            }
        }
    
        /**
         * Creates a {@link Schema} using the specified {@link SchemaFactory}.
         *
         * @param factory
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentDifferentValue() {
        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      public void testRemove_unsupportedNotPresent() {
        try {
          assertNull(
              "remove(notPresent) should return null or throw UnsupportedOperationException",
              getMap().remove(k3()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                } catch (ModelParseException e) {
                    if (!strict) {
                        throw e;
                    }
    
                    options.put(ModelProcessor.IS_STRICT, Boolean.FALSE);
    
                    try {
                        model = modelProcessor.read(modelSource.getInputStream(), options);
                    } catch (ModelParseException ne) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                    tempBuf.append(Arrays.toString((double[]) value));
                } else {
                    tempBuf.append('"').append(StringEscapeUtils.escapeJson(value.toString())).append('"');
                }
            } catch (final Exception e) {
                tempBuf.append("null");
            }
            buf.append(tempBuf.toString());
            return buf;
        }
    
        /**
         * Appends a timestamp to the buffer.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top