Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for getBoolean (0.06 seconds)

  1. 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 map
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

            }
        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        /**
         * Sentinel cache entry indicating a negative cache result
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            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 String createCrawlLabel() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                } catch (final IOException ioe) {
                    throw new ServletException(ioe.getMessage());
                }
    
                this.enableBasic = Config.getBoolean(p, "jcifs.http.enableBasic", false);
                this.insecureBasic = Config.getBoolean(p, "jcifs.http.insecureBasic", false);
                this.realm = p.getProperty("jcifs.http.basicRealm");
                if (this.realm == null) {
                    this.realm = "jCIFS";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                style = sb.toString();
            } catch (final IOException ioe) {
                throw new ServletException(ioe.getMessage());
            }
    
            enableBasic = Config.getBoolean("jcifs.smb1.http.enableBasic", false);
            insecureBasic = Config.getBoolean("jcifs.smb1.http.insecureBasic", false);
            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) {
                realm = "jCIFS";
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record record) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            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");
        }
    
        protected static void deleteLabel(String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top