Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 2,582 for throwIt (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

         * @param response The servlet response
         * @param chain The filter chain
         * @throws IOException If an I/O error occurs
         * @throws ServletException If a servlet error occurs
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/MoreObjects.java

       * @throws NullPointerException if both {@code first} and {@code second} are null
       * @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}).
       */
      public static <T> T firstNonNull(@Nullable T first, @Nullable T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
        @Test
        void constructor_shouldInitializeRecordName() throws NoSuchFieldException, IllegalAccessException {
            // Verify that the 'recordName' field in the superclass (NameServicePacket) is initialized
            Field recordNameField = NameServicePacket.class.getDeclaredField("recordName");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

            throw new UnsupportedOperationException("Cannot change the version information for an attached artifact."
                    + " It is derived from the main artifact.");
        }
    
        @Override
        public String getBaseVersion() {
            return parent.getBaseVersion();
        }
    
        @Override
        public void setBaseVersion(String baseVersion) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeployer.java

                ArtifactRepository localRepository)
                throws ArtifactDeploymentException;
    
        /**
         * Deploy an artifact from a particular file.
         *
         * @param source the file to deploy
         * @param artifact the artifact definition
         * @param deploymentRepository the repository to deploy to
         * @param localRepository the local repository to install into
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/CryptoTest.java

            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
            byte[] plaintext = "This is a test message for RC4".getBytes();
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

        /**
         * Test the extractProjectId method to ensure it properly falls back to rawModel or fileModel
         * when effectiveModel is null, addressing issue #11292.
         */
        @Test
        void testExtractProjectIdFallback() throws Exception {
            // Use reflection to access the private extractProjectId method
            Method extractProjectIdMethod =
                    DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class BigIntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBigIntegerForEmptyString() throws Exception {
            assertNull(BigIntegerConversionUtil.toBigInteger(""));
        }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 960 bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/NotifyResponseTest.java

                this.async = false;
                this.nextResponse = null;
            }
    
            // CommonServerMessageBlock interface methods
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // Mock implementation
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

        }
    
        @Test
        void testNoPluginsOptionByDefault() throws ParseException {
            String[] args = {"apply"};
            CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args);
    
            assertFalse(options.plugins().isPresent(), "--plugins option should not be present by default");
        }
    
        @Test
        void testPluginsOptionWithOtherFlags() throws ParseException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top