Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 5,044 for Null (0.02 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null returning to non-null returning is not breaking`() {
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         *   <li>Ensures no null repository entries exist in the list</li>
         * </ul>
         *
         * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)}
         * method, which typically compares repository IDs and URLs.
         *
         * @param repositories the list of repositories to validate, may be {@code null}
         * @return the same list if validation passes, or {@code null} if input was {@code null}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/MoreObjects.java

       *
       * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
       * @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;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
        entries.add(entry(null, v3()));
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertTrue(
            "A Map should equal any other Map containing the same entries,"
                + " even if some keys are null.",
            getMap().equals(newHashMap(entries)));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Mock the behavior of sendrecv for MsrpcSamrOpenAlias
            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act
            SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

                                valueClass == null ? null : valueClass.getName(), valueClass == null ? null : valueClass.getClassLoader(),
                                value, targetClass == null ? null : targetClass.getName(),
                                targetClass == null ? null : targetClass.getClassLoader()),
                        e);
            }
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            // Test constructor with null message
            StorageException exception = new StorageException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NbtAddressTest.java

        }
    
        @Test
        void testEquals() {
            // Test equals method
            mockName = new Name(mockConfig, "TEST1", 0x20, null);
            Name mockName2 = new Name(mockConfig, "TEST2", 0x20, null);
            Name mockName3 = new Name(mockConfig, "TEST3", 0x20, null);
            NbtAddress nbtAddress1 = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java

            doUpdate(entity, null);
        }
    
        public void insertOrUpdate(User entity) {
            doInsertOrUpdate(entity, null, null);
        }
    
        public void insertOrUpdate(User entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doInsertOrUpdate(entity, null, null);
        }
    
        public void delete(User entity) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

         *
         * @param map The source map
         * @param key The key to look up
         * @return The string value, or null if the key doesn't exist or value is null
         */
        public static String getString(final Map<String, Object> map, final String key) {
            return getString(map, key, null);
        }
    
        /**
         * Gets a String value from the map with a default value.
         *
         * @param map The source map
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top