Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,917 for EMPTY (0.02 seconds)

  1. guava/src/com/google/common/base/Platform.java

      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@Nullable String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param date the date to format
         * @return formatted date string, or empty string if date is null
         */
        public static String formatDate(final Date date) {
            if (date == null) {
                return StringUtil.EMPTY;
            }
            final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

        }
    
        /**
         * Test putResultDataBody with empty array
         */
        @Test
        public void test_putResultDataBody_withEmptyArray() {
            TestFessTransformer transformer = new TestFessTransformer();
            Map<String, Object> dataMap = new HashMap<>();
    
            transformer.putResultDataBody(dataMap, "empty", "value1");
    
            String[] emptyArray = new String[] {};
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            assertEquals(Long.valueOf(5), facetInfo.minDocCount);
            assertEquals("count.desc", facetInfo.sort);
            assertEquals("unknown", facetInfo.missing);
        }
    
        // Test init with empty fields
        @Test
        public void test_init_withEmptyFields() {
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getQueryFacetFields() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with empty buffer")
        void testReadParametersWireFormatEmptyBuffer() throws Exception {
            byte[] buffer = new byte[0];
    
            // Empty buffer adds one empty FileNotifyInformation
            int result = response.readParametersWireFormat(buffer, 0, 0);
            assertEquals(0, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  6. internal/crypto/sse-kms.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        StringSubscriber s2 = new StringSubscriber();
        ObjectSubscriber o1 = new ObjectSubscriber();
    
        Iterator<Subscriber> empty = registry.getSubscribers("");
        assertFalse(empty.hasNext());
    
        empty = registry.getSubscribers("");
    
        registry.register(s1);
        assertFalse(empty.hasNext());
    
        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals("\\*\\*\\*\\?\\?\\?", escaped5);
    
            // Test empty string
            String query6 = "";
            String escaped6 = SuggestUtil.escapeWildcardQuery(query6);
            assertEquals("", escaped6);
        }
    
        @Test
        public void testGetAsListWithEmptyList() {
            // Test with empty list
            List<String> emptyList = new ArrayList<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
      /** Returns an immutable range map mapping a single range to a single value. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/common/admin/header.jsp

    		</c:if>
    		<c:if test="${not empty forumLink}">
    			<li class="nav-item" data-toggle="tooltip" data-placement="left"
    				title="<la:message key="labels.tooltip_forum" />"><a class="nav-link" href="${forumLink}" target="_forum" aria-label="<la:message key="labels.tooltip_forum" />"><i class="fas fa-comments" aria-hidden="true"></i></a></li>
    		</c:if>
    		<c:if test="${not empty helpLink}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top