Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 4,689 for nulls (0.02 seconds)

  1. src/main/java/org/codelibs/fess/helper/OsddHelper.java

                logger.debug("OSDD is disabled.");
                return null;
            }
            if (StringUtil.isBlank(osddPath)) {
                logger.info("OSDD file is not found.");
                return null;
            }
            final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath);
            if (path == null) {
                logger.warn("OSDD file path could not be resolved: {}", 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)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        public void test_isValid_nullValue() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
    
            // Test null context - should return true for null value regardless of context
            assertTrue(validator.isValid(null, null));
        }
    
        @Test
        public void test_initialize_withValidParameters() {
            final CustomSize annotation = createBasicAnnotation();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         * Ensure encode throws NPE when passed a null buffer.
         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
        public void testEncodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(5L);
            assertThrows(NullPointerException.class, () -> hyper.encode(null));
        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            return treeRoot == null ? null : new MetadataGraph(treeRoot);
        }
        // ----------------------------------------------------------------------------
        public MetadataGraph getGraph(ArtifactScopeEnum scope)
                throws MetadataResolutionException, GraphConflictResolutionException {
            if (treeRoot == null) {
                return null;
            }
    
            if (conflictResolver == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

         * StringUtil.defaultString("aaa", "NULL") = "aaa"
         * StringUtil.defaultString("aaa", null)   = "aaa"
         * StringUtil.defaultString(null, null)    = null
         * </pre>
         *
         * @param str
         *            the string (can be <code>null</code>)
         * @param defaultStr
         *            the string to return if the argument is <code>null</code> (can be <code>null</code>)
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Optional.java

        return (javaUtilOptional == null) ? null : fromNullable(javaUtilOptional.orElse(null));
      }
    
      /**
       * Returns the equivalent {@code java.util.Optional} value to the given {@code
       * com.google.common.base.Optional}, or {@code null} if the argument is null.
       *
       * <p>If {@code googleOptional} is known to be non-null, use {@code googleOptional.toJavaUtil()}
       * instead.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/StandardTable.java

        return rowKey != null && safeContainsKey(backingMap, rowKey);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        return (rowKey == null || columnKey == null) ? null : super.get(rowKey, columnKey);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

        public String toString() {
            return "[" + (md == null ? "no metadata" : md.toString()) + "]";
        }
    
        // ---------------------------------------------------------------------
        private static int compareStrings(String s1, String s2) {
            if (s1 == null && s2 == null) {
                return 0;
            }
    
            if (s1 == null /* && s2 != null */) {
                return -1;
            }
    
            if (
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

            this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null;
            this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null;
            this.classifier = (classifier != null && !classifier.isEmpty()) ? classifier : null;
            this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            if (model == null) {
                return "";
            }
    
            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
                groupId = model.getParent().getGroupId();
            }
    
            String artifactId = model.getArtifactId();
    
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top