- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getAsString (0.06 sec)
-
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertNull(dataStoreParams.getAsString("nonExistentKey")); assertEquals("defaultValue", dataStoreParams.getAsString("nonExistentKey", "defaultValue")); dataStoreParams.put("nullKey", null); assertEquals("defaultValue", dataStoreParams.getAsString("nullKey", "defaultValue")); } // Test getAsString with default value and non-String value
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
assertNotNull(capturedCallback.get()); assertNotNull(capturedParams.get()); assertEquals("value1", capturedParams.get().getAsString("key1")); assertEquals("value2", capturedParams.get().getAsString("key2")); } public void test_store_withNullConfig() { // Test store with null config final AtomicBoolean storeCalled = new AtomicBoolean(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
* @return the parameter value as a string, or the default value if not found */ protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) { return paramMap.getAsString(key, defaultValue); } /** * Adds a document to the search index by crawling the specified URL and processing the content.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 28.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.getString("response.id"); } protected static List<String> getWebConfigIds(final String namePrefix) { final String response = getJsonResponse("/api/admin/webconfig/settings");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0)