Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1941 - 1950 of 3,202 for throwIt (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java

            // Execute - should not throw any exception even with null
            processor.process(null);
        }
    
        public void test_processWithEmptyResponseData() {
            // Test process method with empty ResponseData
            NullResponseProcessor processor = new NullResponseProcessor();
            ResponseData responseData = new ResponseData();
    
            // Execute - should not throw any exception
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then
            assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully");
        }
    
        @Test
        @DisplayName("Should set ptype field to 0")
        void shouldSetPtypeToZero() throws NoSuchFieldException, IllegalAccessException {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Returns the value of a specific attribute.
         *
         * @param name the name of the attribute to retrieve
         * @return the attribute value, or {@code null} if the attribute doesn't exist
         * @throws NullPointerException if name is null
         */
        @Nullable
        String attribute(@Nonnull String name);
    
        /**
         * Returns an immutable list of all child nodes.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertTrue(notification.getOldIPAddresses().isEmpty());
            assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags());
        }
    
        @Test
        void testAddIPAddresses() throws Exception {
            InetAddress ipv4 = InetAddress.getByName("192.168.1.100");
            InetAddress ipv6 = InetAddress.getByName("2001:db8::1");
    
            notification.addNewIPAddress(ipv4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

       * @param source location of data corresponding with this stream ID.
       * @param byteCount number of bytes to read or skip from the source.
       * @param last when true, there are no data frames to follow.
       */
      @Throws(IOException::class)
      fun onData(
        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
      /** Indicates the reason why this stream was canceled. */
      fun onReset(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

     * </p>
     * <p>
     * Any {@link IOException} thrown by these methods is wrapped and thrown as an {@link IORuntimeException}.
     * </p>
     *
     * @author koichik
     */
    public abstract class CopyUtil {
    
        /**
         * Do not instantiate.
         */
        protected CopyUtil() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

            assertArgumentNotNull("handler", handler);
    
            try {
                parser.parse(inputSource, handler);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Sets a specific property on the base implementation of {@link XMLReader}.
         *
         * @param parser
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class SerializationTest {
    
        @Test
        void testModelSerialization() throws Exception {
            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
                model = new MavenXpp3Reader().read(is);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

        assertEquals(
            "computeIfAbsent(present, function) should return existing value",
            v0(),
            getMap()
                .computeIfAbsent(
                    k0(),
                    k -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_functionReturnsNullNotInserted() {
        assertNull(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top