Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 223 for setProperty (0.07 sec)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
        String oldPathSeparator = PATH_SEPARATOR.value();
        String oldClassPath = JAVA_CLASS_PATH.value();
        System.setProperty(PATH_SEPARATOR.key(), ":");
        System.setProperty(
            JAVA_CLASS_PATH.key(),
            Joiner.on(":")
                .join(
                    "relative/path/to/some.jar",
                    "/absolute/path/to/some.jar",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(132L, MemoryUtil.sizeOf(Maps.map("1234567890", "1234567890").$()));
        }
    
        private long getObjectSize(Object value) {
            System.setProperty("java.vm.name", "Java HotSpot(TM) ");
            return ObjectSizeCalculator.getObjectSize(value);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        val bndDir = workspaceDir / "cnf"
        val repoDir = bndDir / "repo"
        fileSystem.createDirectories(repoDir)
        return Workspace(workspaceDir.toFile(), bndDir.name)
          .apply {
            setProperty(
              "${Constants.PLUGIN}.$REPO_NAME",
              LocalIndexedRepo::class.java.getName() +
                "; ${LocalIndexedRepo.PROP_NAME} = '$REPO_NAME'" +
                "; ${LocalIndexedRepo.PROP_LOCAL_DIR} = '$repoDir'",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                final SAXParser parser = factory.newSAXParser();
                parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
                parser.parse(is, this);
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                settingsBuilder.put("discovery.type", "single-node");
            }).build(newConfigs().clusterName(clusterName).numOfNode(1));
    
            // wait for yellow status
            runner.ensureYellow();
    
            System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201"));
    
            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        }
    
        protected void disableExternalResources(final SAXParser parser) throws SAXNotRecognizedException, SAXNotSupportedException {
            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: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            )
    
        private
        fun updateProperties(latestKotlinVersions: List<String>) =
            Properties().run {
                setProperty("latests", latestKotlinVersions.joinToString(","))
                store(
                    propertiesFile.get().asFile,
                    comment.get()
                )
            }
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            substitute(sp, callback);
            sp.forEach(properties::setProperty);
        }
    
        public static void substitute(MavenProperties props, Function<String, String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
                String value = props.getProperty(name);
                if (value == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        final String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
            new URLClassLoader(ClassPathUtil.getClassPathUrls()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        final String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
            new URLClassLoader(ClassPathUtil.getClassPathUrls()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top