Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,550 for Constructor (0.06 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Constructor with null pipe name should handle gracefully")
        void testConstructorWithNullPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/BeanDesc.java

         * @param args
         *            The arguments to pass to the constructor
         * @return A new instance
         */
        <T> T newInstance(Object... args);
    
        /**
         * Returns the {@link ConstructorDesc} for the given parameter types.
         *
         * @param paramTypes
         *            The array of parameter types for the constructor
         * @return The {@link ConstructorDesc} for the given parameter types
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}) and calling the constructor via
       * reflection. If the exception did not already have a cause, one is set by calling {@link
       * Throwable#initCause(Throwable)} on it. If no such constructor exists, an {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/OsddHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for Open Search Description Document.
     */
    public class OsddHelper {
    
        /**
         * Default constructor.
         */
        public OsddHelper() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(OsddHelper.class);
    
        /** The OSDD file path. */
        protected String osddPath;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

                    "Method com.example.Source.setSomeVar(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change.",
                    "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasWarnings(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        /** Array of authentication chains to process user operations. */
        protected AuthenticationChain[] chains = {};
    
        /**
         * Default constructor for AuthenticationManager.
         */
        public AuthenticationManager() {
            // Default constructor
        }
    
        /**
         * Inserts a new user across all authentication chains.
         * @param user The user to insert.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

     * Validator implementation for the CustomSize constraint.
     */
    public class CustomSizeValidator implements ConstraintValidator<CustomSize, CharSequence> {
    
        /**
         * Default constructor.
         */
        public CustomSizeValidator() {
            // Empty constructor
        }
    
        private int min = 0;
        private int max = Integer.MAX_VALUE;
        private String message;
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    "Field nonFinalField: Nullability breaking change.",
                    "Method com.example.Source.foo(java.lang.String[]): Parameter 0 from null accepting to non-null accepting breaking change.",
                    "Constructor com.example.Source(java.lang.String[]): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
         * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}.
         */
        @Test
        @DisplayName("happy: constructor sets command correctly")
        void testConstructorSetsCommand() {
            SmbComClose close = new SmbComClose(1, 12345L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            }
            assertTrue(hasCronExpression);
        }
    
        // Test annotation on constructor parameter
        @Test
        public void test_annotationOnConstructor() throws Exception {
            java.lang.reflect.Constructor<?> constructor = TestConstructor.class.getDeclaredConstructor(String.class);
            Annotation[][] paramAnnotations = constructor.getParameterAnnotations();
    
            assertEquals(1, paramAnnotations.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top