Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,616 for threw (0.06 sec)

  1. android/guava/src/com/google/common/collect/MoreCollectors.java

              throw multiples(true);
            }
            return this;
          }
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
        if (c == this) throw new IllegalArgumentException();
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int n = 0;
          E e;
          while ((e = q.poll()) != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

                // 404
                throw responseManager.new404("Thumbnail for " + form.docId + " is not found.");
            }
    
            final File thumbnailFile = thumbnailManager.getThumbnailFile(doc);
            if (thumbnailFile == null) {
                if (fessConfig.isThumbnailEnabled()) {
                    thumbnailManager.offer(doc);
                }
                // 404
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        }
    
        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
            classLoader = classLoader.getParent();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                    } catch (FileNotFoundException | URISyntaxException e) {
                        throw new IllegalStateException("Missing test POM for " + artifact, e);
                    }
                } else {
                    result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null));
                    throw new ArtifactResolutionException(results);
                }
            }
    
            return results;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

            try (Reader in = input) {
                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

         */
        public void write(Writer writer, Model model) throws IOException {
            try {
                delegate.write(writer, model.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        } // -- void write( Writer, Model )
    
        /**
         * Method write.
         *
         * @param stream a stream object.
         * @param model a model object.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                    throw new SsoLoginException("could not validate nonce");
                }
    
                final String nonce = (String) claimsSet.getClaim("nonce");
                if (logger.isDebugEnabled()) {
                    logger.debug("nonce: {}", nonce);
                }
                if (StringUtils.isEmpty(nonce) || !nonce.equals(stateData.getNonce())) {
                    throw new SsoLoginException("could not validate nonce");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top