Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,069 for match1 (0.18 seconds)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          // This set never contains null.  We need to explicitly check here
          // because some comparator might throw NPE (e.g. the natural ordering).
          return object != null && sortedDelegate.contains(object);
        } catch (ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        for (Object target : targets) {
          if (target == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            multiExceptionListIterator.promoteToNext(targetReturnValueFromNext);
          }
    
          referenceReturnValue = method.execute(reference);
        } catch (PermittedMetaException e) {
          referenceException = e;
        } catch (UnknownElementException e) {
          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        }
                    }
                } catch (final ClassNotFoundRuntimeException e) {
                    logger.debug("{}.{}.Handler does not exist.", basePackage, protocol, e);
                } catch (final NoSuchFieldRuntimeException e) {
                    logger.debug("{}.{}.Handler does not contain PROTOCOL_TYPE.", basePackage, protocol);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
                    } catch (final Exception e) {
                        logger.warn("Failed to process a request.", e);
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadBadwordFile(GLOBAL), this::asDownloadHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

              transfer.flush();
              // We've successfully transferred the data; switch to writing to file.
              out = transfer;
            } catch (IOException e) {
              if (transfer != null) {
                try {
                  transfer.close();
                } catch (IOException closeException) {
                  e.addSuppressed(closeException);
                }
              }
              temp.delete();
              throw e;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    
        @Test
        public void test_getJobExecutor_withoutSuffix() {
            try {
                ComponentUtil.getJobExecutor("test");
                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/reflect/SubtypeTester.java

                .isNotEqualTo(paramType);
          } catch (IllegalArgumentException notSubtype1) {
            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
            assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
                .isNotEqualTo(returnType);
          } catch (IllegalArgumentException notSubtype2) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
Back to Top