- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for getBoolean (0.22 seconds)
-
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
* @param key The key to look up * @return The Boolean value, or null if the key doesn't exist or value is null */ public static Boolean getBoolean(final Map<String, Object> map, final String key) { return getBoolean(map, key, null); } /** * Gets a Boolean value from the map with a default value. * * @param map The source mapCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
* @param key the property key to look up * @param def the default value to return if key is not found * @return the boolean value of the property or the default value */ public static boolean getBoolean(final Properties props, final String key, boolean def) { final String b = props.getProperty(key); if (b != null) { def = b.toLowerCase().equals("true"); } return def;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
* @param def the default value to return if the property is not found * @return the property value as a boolean, or the default value */ public static boolean getBoolean(final String key, boolean def) { final String b = getProperty(key); if (b != null) { def = b.toLowerCase().equals("true"); } return def; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
@Test @DisplayName("Should get boolean property with default value") void testGetBooleanWithDefault() { assertTrue(Config.getBoolean(testProperties, "test.bool.true", false)); assertFalse(Config.getBoolean(testProperties, "test.bool.false", true)); assertTrue(Config.getBoolean(testProperties, "nonexistent.bool", true)); } @Test @DisplayName("Should get InetAddress array property")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Whether to use Unicode strings */ boolean USE_UNICODE = Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true); /** Whether to force Unicode usage */ boolean FORCE_UNICODE = Config.getBoolean("jcifs.smb1.smb.client.useUnicode", false); /** Whether to use NT status codes */ boolean USE_NTSTATUS = Config.getBoolean("jcifs.smb1.smb.client.useNtStatus", true); /** Whether signing is preferred */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java
assertEquals(Boolean.TRUE, MapValueExtractor.getBoolean(map, "true")); assertEquals(Boolean.FALSE, MapValueExtractor.getBoolean(map, "false")); assertEquals(Boolean.TRUE, MapValueExtractor.getBoolean(map, "stringTrue")); assertEquals(Boolean.FALSE, MapValueExtractor.getBoolean(map, "stringFalse")); assertNull(MapValueExtractor.getBoolean(map, "missing")); } @TestCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
configMockedStatic = mockStatic(Config.class); lenient().when(Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false)).thenReturn(false); lenient().when(Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300)).thenReturn(300L); lenient().when(Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false)).thenReturn(false); } @AfterEach void tearDown() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
private String suppliedDomain; private String suppliedWorkstation; static { DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM | (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM); DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null); String defaultWorkstation = null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
String response = checkMethodBase(requestBody).post("/api/admin/webconfig/setting").asString(); 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) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java
labelBody.put("value", value); Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } private static void deleteLabel(final String id) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0)