Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 190 for array1 (0.04 seconds)

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

            });
        }
    
        /**
         * Returns the array of supported web protocols.
         *
         * @return array of web protocol strings with colon suffix (e.g., "http:", "https:")
         */
        public String[] getWebProtocols() {
            return webProtocols;
        }
    
        /**
         * Returns the array of supported file protocols.
         *
         * @return array of file protocol strings with colon suffix (e.g., "file:", "ftp:")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            assertTrue(queryFieldConfig.sortFieldSet.contains("sort3"));
        }
    
        /**
         * Test isSortField with empty array - should return false, not throw exception.
         * This test addresses the Copilot AI concern about empty arrays.
         */
        @Test
        public void test_isSortField_withEmptyArray_returnsFalse() {
            String[] emptyFields = {};
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    // Handle both Object[] and primitive arrays safely
                    final int newLength = Array.getLength(value);
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newLength);
                    for (int i = 0; i < newLength; i++) {
                        values[oldValues.length + i] = Array.get(value, i);
                    }
                    dataMap.put(key, values);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/JvmUtil.java

         *
         * @param values the array of JVM options to filter
         * @return the filtered array of JVM options applicable to the current Java version
         */
        public static String[] filterJvmOptions(final String[] values) {
            final int version = getJavaVersion();
            return Arrays.stream(values).map(s -> {
                final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

    public class ErrorToWarnRewritePolicy implements RewritePolicy {
    
        /** Array of logger name prefixes to apply the ERROR to WARN conversion */
        private final String[] loggerNames;
    
        /**
         * Constructs a new ErrorToWarnRewritePolicy with the specified logger names.
         *
         * @param loggerNames array of logger name prefixes to convert ERROR to WARN
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(target);
            ElementType[] targetTypes = target.value();
            assertEquals(2, targetTypes.length);
            assertTrue(Arrays.asList(targetTypes).contains(ElementType.METHOD));
            assertTrue(Arrays.asList(targetTypes).contains(ElementType.TYPE));
    
            // Check Retention annotation
            Retention retention = Secured.class.getAnnotation(Retention.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                return true;
            });
    
        }
    
        /**
         * Retrieves multiple documents by their document IDs.
         *
         * @param docIds Array of document IDs to retrieve
         * @param fields Array of field names to include in the results
         * @param userBean Optional user information for permission checking
         * @param searchRequestType Type of search request for role-based access control
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

            }
        }
    
        /**
         * Deserializes a byte array using Kryo deserialization.
         * <p>
         * Uses the thread-local Kryo instance to read both the class information
         * and object data from the byte array input stream.
         * </p>
         *
         * @param bytes the byte array to deserialize
         * @return the deserialized object
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  9. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            documentList.add(doc2);
    
            QueryResponseList qrList = new QueryResponseList(documentList, 0, 10, 0);
    
            Object[] array = qrList.toArray();
            assertEquals(2, array.length);
            assertEquals(doc1, array[0]);
            assertEquals(doc2, array[1]);
    
            @SuppressWarnings("unchecked")
            Map<String, Object>[] typedArray = qrList.toArray(new Map[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        private CrawlJob crawlJob;
    
        // Helper method to compare arrays
        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            if (expected == null || actual == null) {
                fail("Arrays are not equal: one is null");
            }
            assertEquals("Array lengths differ", expected.length, actual.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
Back to Top