Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2081 - 2090 of 3,282 for throwIt (0.08 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            controller.delayMillisForWaitingNewUrl = 0L;
            controller.delayMillisAtNoUrlInQueue = 0L;
    
            final Callable<Integer> testCallable = new Callable<Integer>() {
                public Integer call() throws Exception {
                    CrawlingParameterUtil.setUrlQueue(q);
                    controller.delayBeforeProcessing();
                    return 0;
                }
            };
    
            // Generate multiple callable tasks
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    assertEquals(buffer.size(), bytesEncoded);
                }
            }
    
            @Test
            @DisplayName("Should handle concurrent size calculations")
            void testConcurrentSizeCalculations() throws InterruptedException {
                String path = "\\\\server\\share\\test";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                int expectedSize = buffer.size();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            rr.getPolicy(false).getChecksumPolicy());
    
                } catch (Exception e) {
                    throw new RuntimeException("Unable to create repository", e);
                }
            } else {
                // TODO
                throw new UnsupportedOperationException("Not yet implemented");
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/LineReader.java

       *     line-termination characters, or {@code null} if the end of the stream has been reached.
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip a line
      public @Nullable String readLine() throws IOException {
        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
          // The default implementation of Reader#read(CharBuffer) allocates a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            given:
            repository.put('unkown', new TestDomainObject('unknown'))
    
            when:
            repository.get('unknown')
    
            then:
            UnknownDomainObjectException e = thrown()
            e.message == 'No meta-data is available for class \'unknown\'. Did you mean? [unkown]'
        }
    
        def getFailsForWrongPackage() {
            given:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

             * </ul>
             *
             * @param project the path to search for a POM file
             * @return the path to the located POM file, or null if no POM can be found
             * @throws NullPointerException if project is null
             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_3x.md

     *  Fix: Release the connection if `Authenticator` throws an exception.
     *  Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
        value has always been nullable but it wasn't declared properly.
     *  Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now
        throw the initial exception which is most likely to be actionable.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertNull(leaseManager.getLease(key2));
            assertTrue(leaseManager.getAllLeases().isEmpty());
        }
    
        @Test
        @DisplayName("Should clean up expired leases")
        void testCleanupExpiredLeases() throws InterruptedException {
            String path = "/share/expired.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
    
            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    class ConsumerPomArtifactTransformerTest {
    
        @Test
        void transform() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
            SessionData sessionDataMock = Mockito.mock(SessionData.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top