- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isCache (0.1 sec)
-
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
assertTrue(fieldConfigs.getConfig("test").isEmpty()); assertFalse(fieldConfigs.getConfig("foo").isEmpty()); assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isCache).orElse(false)); assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Jul 04 06:20:49 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java
public Config(final String value) { values = StreamUtil.split(value, Pattern.quote("|")).get(stream -> stream.map(String::trim).toArray(n -> new String[n])); } public boolean isCache() { for (final String value : values) { if ("cache".equalsIgnoreCase(value)) { return true; } } // backward compatibility
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 2.3K bytes - Viewed (0)