Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 223 for setProperty (0.06 sec)

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            System.setProperty("abc", "123");
    
            value = "${abc}";
            assertEquals("123", ResourceUtil.resolve(value));
    
            value = "xxx${abc}zzz";
            assertEquals("xxx123zzz", ResourceUtil.resolve(value));
    
            value = "${abc.xyz}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("abc.xyz", "789");
    
            value = "${abc.xyz}";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java

     */
    
    package gradlebuild.docs.dsl.source;
    
    import org.gradle.api.DefaultTask;
    import org.gradle.api.NonNullApi;
    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.provider.SetProperty;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputFile;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.PathSensitive;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            return p;
        }
    
        private Properties newProperties(String osName, String osVersion, String osArch) {
            Properties props = new Properties();
            props.setProperty("os.name", osName);
            props.setProperty("os.version", osVersion);
            props.setProperty("os.arch", osArch);
            return props;
        }
    
        @Test
        void testVersionStringComparison() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

                if (name.startsWith("jcifs.smb1.")) {
                    Config.setProperty(name, config.getInitParameter(name));
                }
            }
            defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain");
            domainController = Config.getProperty("jcifs.smb1.http.domainController");
            if( domainController == null ) {
                domainController = defaultDomain;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation syspropActivation = new Activation();
    
            ActivationProperty syspropProperty = new ActivationProperty();
            syspropProperty.setName("java.version");
    
            syspropActivation.setProperty(syspropProperty);
    
            syspropActivated.setActivation(syspropActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         */
    
        String save = System.getProperty("user.name");
        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

    import com.google.common.collect.Multimap;
    import org.gradle.api.DefaultTask;
    import org.gradle.api.NonNullApi;
    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.provider.SetProperty;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputFile;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.PathSensitive;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         * @param value
         *            設定されるプロパティの値
         */
        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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

        }
    
        private
        fun updateProperties(fetchedVersions: FetchedVersions) =
            Properties().run {
                setProperty("latests", fetchedVersions.latests.joinToString(","))
                setProperty("nightlyBuildId", fetchedVersions.nightlyBuildId)
                setProperty("nightlyVersion", fetchedVersions.nightlyVersion)
                store(
                    propertiesFile.get().asFile,
                    comment.get()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top