Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,444 for scratch (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
          list.set(0, "5");
          fail("transformed list is setable");
        } catch (UnsupportedOperationException expected) {
        }
        list.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
          list.set(0, "5");
          fail("transformed list is setable");
        } catch (UnsupportedOperationException expected) {
        }
        list.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        assertEquals(false, tearDownTwo.ran);
    
        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

                return new Metadata();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new Metadata(new MetadataStaxReader().read(input, false));
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

                    (InternalFutureFailureAccess) localInputFuture);
          }
          if (throwable == null) {
            sourceResult = getDone(localInputFuture);
          }
        } catch (ExecutionException e) {
          throwable = e.getCause();
          if (throwable == null) {
            throwable =
                new NullPointerException(
                    "Future type "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                prop.load(fis);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
            properties = prop;
        }
    
        public synchronized void store() {
            FileOutputStream fos = null;
            try {
                fos = new FileOutputStream(propertiesFile);
                properties.store(fos, propertiesFile.getName());
            } catch (final IOException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        public OptionalEntity<UserInfo> getUserInfo(final String userCode) {
            if (StringUtil.isNotBlank(userCode)) {
                try {
                    return OptionalEntity.of(userInfoCache.get(userCode));
                } catch (final ExecutionException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to access UserInfo cache.", e);
                    }
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
                if (logger.isDebugEnabled()) {
                    throw new ContainerNotAvailableException(clazz.getCanonicalName(), e);
                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                servletContext.setSessionTrackingModes(
                        fessConfig.getSessionTrackingModesAsSet().stream().map(SessionTrackingMode::valueOf).collect(Collectors.toSet()));
            } catch (final Throwable t) {
                logger.warn("Failed to set SessionTrackingMode.", t);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                        return method.invoke(value, OBJECT_ARGS);
                    }
                }
                return null;
            } catch (InvocationTargetException e) {
                throw new IntrospectionException(e.getTargetException());
            } catch (AmbiguousException | IllegalAccessException e) {
                throw new IntrospectionException(e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top