Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 2,652 for throw (0.02 sec)

  1. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

          K key = entryArray[i].getKey();
          V value = entryArray[i].getValue();
          V oldValue = delegateMap.put(key, value);
          if (oldValue != null) {
            if (throwIfDuplicateKeys) {
              throw conflictException("key", entryArray[i], entryArray[i].getKey() + "=" + oldValue);
            }
            if (duplicates == null) {
              duplicates = new HashMap<>();
            }
            duplicates.put(key, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
                                    throw new IORuntimeException(e);
                                }
                                return true;
                            });
                            writer.flush();
                        }
                    });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
                  + ": no CollectionSizes specified (check the argument to "
                  + "FeatureSpecificTestSuiteBuilder.withFeatures().)");
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        final Map<E, Integer> backingMap = Maps.newHashMap();
    
        @Override
        public int size() {
          return Multisets.linearTimeSizeImpl(this);
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        val peekedHeader = reader.peekHeader()
        if (peekedHeader == null || peekedHeader.tagClass != tagClass || peekedHeader.tag != tag) {
          if (isOptional) return defaultValue as T
          throw ProtocolException("expected $this but was $peekedHeader at $reader")
        }
    
        val result =
          reader.read(name) {
            codec.decode(reader)
          }
    
        if (typeHint) {
          reader.typeHint = result
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
      }
    
      private static <E extends @Nullable Object> E getElementOrThrow(@CheckForNull Entry<E> entry) {
        if (entry == null) {
          throw new NoSuchElementException();
        }
        return entry.getElement();
      }
    
      @CheckForNull
      private static <E extends @Nullable Object> E getElementOrNull(@CheckForNull Entry<E> entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            // check that groovy is visible.
            try {
                getClass().getClassLoader().loadClass("groovy.lang.Closure");
            } catch (ClassNotFoundException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Resolves the names in the given type into fully qualified names.
         */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            robotsTxt.addSitemap(value);
                        }
                    }
                }
    
                return robotsTxt;
            } catch (final Exception e) {
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        protected String getValue(final Pattern pattern, final String line) {
            final Matcher m = pattern.matcher(line);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      private static class SubPrepender extends Prepender {
        @SuppressWarnings("unused") // needed to satisfy compiler, never called
        public SubPrepender() throws NullPointerException {
          throw new AssertionError();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      private static class SubPrepender extends Prepender {
        @SuppressWarnings("unused") // needed to satisfy compiler, never called
        public SubPrepender() throws NullPointerException {
          throw new AssertionError();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top