Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2961 - 2970 of 3,670 for throwIf (0.05 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

    class ConsoleMavenTransferListenerTest {
    
        private CountDownLatch startLatch;
        private CountDownLatch endLatch;
    
        @Test
        void testTransferProgressedWithPrintResourceNames() throws Exception {
            int size = 1000;
            ExecutorService service = Executors.newFixedThreadPool(size * 2);
            try {
                startLatch = new CountDownLatch(size);
                endLatch = new CountDownLatch(size);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      AbstractImmutableMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

            assertArgumentNotNull("enumeration", enumeration);
            this.enumeration = enumeration;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
        @Override
        public boolean hasNext() {
            return enumeration.hasMoreElements();
        }
    
        @Override
        public T next() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

                return version1.compareTo(version2) > 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
                // TODO log message or throw exception?
    
                return null;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ParseRequest.java

      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.isEmpty()) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsSqlClause.java

        @Override
        public void fetchFirst(int fetchSize) {
            _fetchScopeEffective = true;
            if (fetchSize < 0) {
                String msg = "Argument[fetchSize] should be plus: " + fetchSize;
                throw new IllegalArgumentException(msg);
            }
            _fetchStartIndex = 0;
            _fetchSize = fetchSize;
            _fetchPageNumber = 1;
            doClearFetchPageClause();
            doFetchFirst();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/Platform.java

          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/Platform.java

          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

                if (mimetype != null) {
                    return mimetype;
                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

         */
        public static HandleType fromValue(int value) {
            for (HandleType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
            throw new IllegalArgumentException("Unknown handle type value: " + value);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top