- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 80 for DefaultValue (1.76 sec)
-
src/main/java/org/codelibs/fess/exec/Crawler.java
* @param key the key to look up * @param defaultValue the default value to return if key is not found or value is blank * @return the value from the map or the default value */ private String getValueFromMap(final Map<String, String> dataMap, final String key, final String defaultValue) { final String value = dataMap.get(key); if (StringUtil.isBlank(value)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
/** * Retrieves a localized message for the given key. * * @param key the message key * @param defaultValue the default value to return if message not found * @return localized message or default value */ public static String getMessage(final String key, final String defaultValue) { final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java
/** * Specifies the default value of the configuration property. * * @return the default value as a string, defaults to empty string */ String defaultValue() default ""; /** * Specifies whether the configuration property is read-only. * * @return true if the property is read-only, false otherwise */ boolean readOnly() default false;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 4.3K bytes - Viewed (0) -
internal/logger/config.go
AuditKafka: make(map[string]kafka.Config), } return cfg } func getCfgVal(envName, key, defaultValue string) string { if key != config.Default { envName = envName + config.Default + key } return env.Get(envName, defaultValue) } func lookupLegacyConfigForSubSys(ctx context.Context, subSys string) Config { cfg := NewConfig() switch subSys {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
properties.load(new StringReader(TEST_PROPERTIES)); String test = properties.getProperty("test"); assertEquals("test", test); String defaultValue = properties.getProperty("notfound", "default"); assertEquals("default", defaultValue); properties.setProperty("another", "another"); Object o1 = properties.getProperty("another"); assertEquals("another", o1);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
* @param key the parameter key to look up * @param defaultValue the default value to return if key is not found * @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); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} default String getSystemProperty(final String key, final String defaultValue) { return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key, defaultValue)); } default void setSystemProperty(final String key, final String value) { if (value != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 88.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
) fun handshake(): Handshake? = handshake fun headers(name: String): List<String> = headers.values(name) @JvmOverloads fun header( name: String, defaultValue: String? = null, ): String? = headers[name] ?: defaultValue @JvmName("-deprecated_headers") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "headers"), level = DeprecationLevel.ERROR, )
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0)