Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 198 for setProperty (0.11 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            originalLmCompatibility = System.getProperty("jcifs.smb1.smb.lmCompatibility");
            // Set default for tests
            jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3");
        }
    
        @AfterAll
        static void tearDownClass() {
            // Restore original property
            if (originalLmCompatibility != null) {
                jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            systemProperties.setProperty(Constants.FAILURE_COUNT_THRESHOLD_PROPERTY, "0");
            assertEquals(0, crawlingConfigHelper.getExcludedUrlList("123").size());
            errorCount.set(5);
            assertEquals(5, crawlingConfigHelper.getExcludedUrlList("123").size());
            systemProperties.setProperty(Constants.IGNORE_FAILURE_TYPE_PROPERTY, "TestError0");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

                if (is != null) {
                    Properties props = new Properties();
                    props.load(is);
                    props.forEach((key, value) -> setProperty(String.valueOf(key), String.valueOf(value)));
                    logger.debug("Loaded test system properties");
                } else {
                    logger.warn("system.properties not found in test classpath, using defaults");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/Config.java

            String ver, pkgs;
    
            ver = System.getProperty("java.version");
            if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) {
                throw new RuntimeException("jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver);
            }
            pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

            }
            return schemaFactory;
        }
    
        private static void disableExternalResources(final SchemaFactory schemaFactory) {
            try {
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, "");
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to set a property.", e);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                    // Create a mock JavaPropertiesResult
                    java.util.Properties props = new java.util.Properties();
                    props.setProperty("job.max.crawler.processes", "5");
                    props.setProperty("java.command.path", "java");
    
                    org.dbflute.helper.jprop.JavaPropertiesReader reader =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Register the SMB URL handler to avoid MalformedURLException
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (!pkgs.contains("jcifs")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs");
            }
        }
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        static void setupProtocolHandler() {
            // Register the SMB protocol handler
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");
            } else if (!pkgs.contains("jcifs.smb1")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         * @param value
         *            The value of the property to be set.
         */
        public static void setProperty(final SAXParser parser, final String name, final String value) {
            assertArgumentNotNull("parser", parser);
            assertArgumentNotEmpty("name", name);
    
            try {
                parser.setProperty(name, value);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            // wait for yellow status
            runner.ensureYellow();
    
            System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201"));
    
            super.setUp();
    
            // logging
            System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top