Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,868 for constructors (0.34 seconds)

  1. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/resources/forbidden/http-signatures.txt

    org.apache.http.nio.entity.NStringEntity#<init>(java.lang.String)
    org.apache.http.nio.entity.NStringEntity#<init>(java.lang.String,java.lang.String)
    
    @defaultMessage Use non-deprecated constructors
    org.apache.http.nio.entity.NFileEntity#<init>(java.io.File,java.lang.String)
    org.apache.http.nio.entity.NFileEntity#<init>(java.io.File,java.lang.String,boolean)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

         */
        private volatile int hashCode = 0;
    
        // ----------------/
        // - Constructors -/
        // ----------------/
    
        /**
         * Default constructor for InputSource.
         */
        public InputSource() {}
    
        /**
         * Creates a new InputSource from an API model InputSource.
         * This constructor is used for converting between the API model and the compat model.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

     * Unit tests for {@link SmbException}.
     *
     * The tests exercise the public API: constructors, {@link #getNtStatus()},
     * {@link #getRootCause()}, and {@link #toString()}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbExceptionTest {
    
        /**
         * Happy path – constructor with a valid NT status code (0).
         */
        @Test
        @DisplayName("Constructor 0 – NT_STATUS_SUCCESS")
        void testConstructorWithZeroCode() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            assertEquals(0, c.getDeclaredMethods().length, "No declared methods expected");
            assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors");
        }
    
        @Test
        @DisplayName("Fields are public static final Strings with expected values")
        void fieldModifiersAndTypes() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            assertEquals(negativeFlags, negAvFlags.getFlags(), "Flags should match the negative input integer");
        }
    
        /**
         * Test getFlags method.
         * This is implicitly tested by the constructors, but an explicit test ensures its direct functionality.
         */
        @Test
        void testGetFlags() {
            int expectedFlags = 0xAABBCCDD;
            AvFlags avFlags = new AvFlags(expectedFlags);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

        }
    
        /**
         * Test with an empty string for both constructors.
         */
        @Test
        void testEmptyString() {
            String emptyString = "";
            AvTargetName avTargetNameFromString = new AvTargetName(emptyString);
            assertEquals(emptyString, avTargetNameFromString.getTargetName(),
                    "Empty string should be handled correctly from string constructor");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // 2. Should have exactly one private constructor
            Constructor<?>[] constructors = WebApiUtil.class.getDeclaredConstructors();
            assertEquals("Should have exactly one constructor", 1, constructors.length);
            assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers()));
    
            // 3. All public methods should be static
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

            MemberType.TYPE -> hasTypeAttribute(kmClass, jvmSignature, predicate)
            MemberType.FIELD -> hasPropertyAttribute(kmClass::properties, jvmSignature, predicate)
            MemberType.CONSTRUCTOR -> hasConstructorAttribute(kmClass::constructors, jvmSignature, predicate)
            MemberType.METHOD -> hasFunctionAttribute(kmClass::functions, jvmSignature, predicate) ||
                hasPropertyAttribute(kmClass::properties, jvmSignature, predicate)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 04 09:21:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top