Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 223 for SetProperty (0.26 sec)

  1. src/test/java/jcifs/tests/NamingTest.java

            super(name, properties);
        }
    
    
        @Test
        public void testWINSOnly () throws CIFSException, UnknownHostException {
            Properties prop = new Properties();
            prop.setProperty("jcifs.resolveOrder", "WINS");
            prop.setProperty("jcifs.netbios.wins", getRequiredProperty("jcifs.netbios.wins"));
    
            PropertyConfiguration cfg = new PropertyConfiguration(prop);
            BaseContext c = new BaseContext(cfg);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        }
      } catch (ioe: IOException) {
        println(ioe)
      }
    }
    
    fun main(vararg args: String) {
      // System.setProperty("javax.net.debug", "ssl:handshake:verbose");
      Security.insertProviderAt(Conscrypt.newProviderBuilder().provideTrustManager().build(), 1)
      println("Running tests using ${Platform.get()} ${System.getProperty("java.vm.version")}")
    
      // https://github.com/tlswg/tls13-spec/wiki/Implementations
      val urls =
        listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        // IllegalStateException: Cannot resume session and session creation is disabled
        platform.assumeNotBouncyCastle()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                // create a sax parser
                final SAXParser parser = spfactory.newSAXParser();
                try {
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Log4j2Configuration.java

                case INFO:
                    value = "info";
                    break;
    
                default:
                    value = "error";
                    break;
            }
            System.setProperty("maven.logging.root.level", value);
        }
    
        @Override
        public void activate() {
            // no op
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/MavenSimpleConfiguration.java

                case INFO:
                    value = "info";
                    break;
    
                default:
                    value = "error";
                    break;
            }
            System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", value);
        }
    
        @Override
        public void activate() {
            ILoggerFactory lf = LoggerFactory.getILoggerFactory();
            if (lf instanceof MavenLoggerFactory mlf) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            String mavenVersion = buildProperties.getProperty(CLIReportingUtils.BUILD_VERSION_PROPERTY);
            systemProperties.setProperty("maven.version", mavenVersion);
    
            String mavenBuildVersion = CLIReportingUtils.createMavenVersionString(buildProperties);
            systemProperties.setProperty("maven.build.version", mavenBuildVersion);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
            Properties sysProperties = new Properties();
            sysProperties.setProperty("myproperty", "test");
    
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top