Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 4,689 for nulls (0.02 seconds)

  1. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

        @Test
        public void test_defensiveCopy_nullArrays() {
            // Test that defensive copy handles null arrays correctly
            SynonymItem item1 = new SynonymItem(1, new String[] { "a" }, new String[] { "x" });
    
            // Set to null
            item1.setNewInputs(null);
            item1.setNewOutputs(null);
    
            // Should return null, not crash
            assertNull(item1.getNewInputs());
            assertNull(item1.getNewOutputs());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8K bytes
    - Click Count (1)
  2. guava/src/com/google/common/base/Throwables.java

       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible @GwtIncompatible // java.lang.reflect
      private static final @Nullable Method getStackTraceElementMethod =
          (jla == null) ? null : getGetMethod();
    
      /**
       * The "getStackTraceDepth" method, only available on some JDKs so we use reflection to find it
       * when available. When this is null, use the slow way.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/EdgesConnecting.java

        return (connectingEdge == null)
            ? ImmutableSet.<E>of().iterator()
            : Iterators.singletonIterator(connectingEdge);
      }
    
      @Override
      public int size() {
        return getConnectingEdge() == null ? 0 : 1;
      }
    
      @Override
      public boolean contains(@Nullable Object edge) {
        E connectingEdge = getConnectingEdge();
        return connectingEdge != null && connectingEdge.equals(edge);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[calendar] is null."));
            CalendarConversionUtil.localize(null);
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         */
        String getRepositoryUrl();
    
        /**
         * The path of the artifact relative to the repository's base URL.
         *
         * @return The path of the artifact, never {@code null}.
         */
        String getName();
    
        /**
         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java

         * filter out incompatible values from its result.
         *
         * @param value The configuration value to preprocess, must not be {@code null}.
         * @param type The target type of the value, may be {@code null}.
         * @return The processed configuration value or {@code null} if none.
         * @throws BeanConfigurationException If an error occurred while preprocessing the value.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    Arguments.of(new byte[] { 0x0A, 0x0B }, new byte[] { 0x0A, 0x0B }, 100L, true),
                    // fid based equality (null fileId, same fid and tree id)
                    Arguments.of(null, null, 200L, true));
        }
    
        @ParameterizedTest(name = "equals/hashCode consistent for treeId={2}")
        @MethodSource("equalsHashParams")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

        }
    
        @Test
        public void testGetLong_withNullAndMissingKey() {
            Map<String, Object> map = new HashMap<>();
            map.put("null", null);
    
            assertNull(MapValueExtractor.getLong(map, "null"));
            assertNull(MapValueExtractor.getLong(map, "missing"));
        }
    
        @Test
        public void testGetFloat_withFloatValue() {
            Map<String, Object> map = new HashMap<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsGroupCB.java

            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
            if (_conditionAggregation != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top