Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_empty_string_array (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            List<String> result = DocumentUtil.getValue(doc, "key", List.class);
            assertEquals(new ArrayList<>(), result);
        }
    
        public void test_empty_string_array() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", new String[0]);
    
            assertNull(DocumentUtil.getValue(doc, "key", String.class));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top