Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 2,652 for throw (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        return FS.getRootDirectories().iterator().next();
      }
    
      private Path tempDir;
    
      @Override
      protected void setUp() throws Exception {
        tempDir = Files.createTempDirectory("MoreFilesTest");
      }
    
      @Override
      protected void tearDown() throws Exception {
        if (tempDir != null) {
          // delete tempDir and its contents
          Files.walkFileTree(
              tempDir,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        authentication failures through a single method. An adapter for the old
        authenticator is available in the `okhttp-urlconnection` module.
    
     *  Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`.
     *  Fix: Never throw converting an `HttpUrl` to a `java.net.URI`. This changes
        the `uri()` method to handle malformed percent-escapes and characters
        forbidden by `URI`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.gradleInstallPath: Provider<String>
        get() = gradleProperty(GRADLE_INSTALL_PATH).orElse(
            provider<String> {
                throw RuntimeException("You can't install without setting the $GRADLE_INSTALL_PATH property.")
            }
        )
    
    
    val Project.rerunAllTests: Provider<Boolean>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            try {
                return createKuromojiItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
                throw e;
            }
        }
    
        public static OptionalEntity<KuromojiItem> createKuromojiItem(final FessBaseAction action, final CreateForm form,
                final VaErrorHook hook) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> filtered =
            filter(
                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = emptyList();
        List<String> actual = Lists.newArrayList(filtered);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          }
        }
    
        // Unfortunately this is pasted from ImmutableCollection.Builder.
        private static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
            throw new AssertionError("cannot store more than MAX_VALUE elements");
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

          }
        }
    
        // Unfortunately this is pasted from ImmutableCollection.Builder.
        private static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
            throw new AssertionError("cannot store more than MAX_VALUE elements");
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/FluentFuture.java

        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get(long timeout, TimeUnit unit)
            throws InterruptedException, ExecutionException, TimeoutException {
          return super.get(timeout, unit);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

                        ImmutableList.of("foo", "bar"),
                        new Function<String, String>() {
                          @Override
                          public String apply(String input) {
                            throw new IndexOutOfBoundsException();
                          }
                        })
                    .toArray());
      }
    
      private static void assertTransformListIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

                        ImmutableList.of("foo", "bar"),
                        new Function<String, String>() {
                          @Override
                          public String apply(String input) {
                            throw new IndexOutOfBoundsException();
                          }
                        })
                    .toArray());
      }
    
      private static void assertTransformListIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top