Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 515 for Properties (0.12 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

    import java.util.Map;
    import java.util.Properties;
    import java.util.function.Consumer;
    
    public class DefaultPersistentDirectoryCache extends DefaultPersistentDirectoryStore implements ReferencablePersistentCache {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultPersistentDirectoryCache.class);
    
        private final Properties properties = new Properties();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

    import java.util.Hashtable
    import java.util.Properties
    
    
    class BaseTypeCodecTest : AbstractUserTypeCodecTest() {
    
        @Test
        fun `can handle Properties`() {
            val properties = Properties()
            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheFactory.java

            DirCacheReference(ReferencablePersistentCache cache, Map<String, ?> properties, LockOptions lockOptions) {
                this.cache = cache;
                this.properties = properties;
                this.lockOptions = lockOptions;
                onOpen(cache);
            }
    
            public void addReference(ReferenceTrackingCache cache) {
                references.add(cache);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 15:54:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            }
    
            val types: Iterable<KClass<*>>
                get() = properties.keys
    
            fun hasType(kClass: KClass<*>): Boolean = kClass in properties
    
            fun getAllProperties(kClass: KClass<*>): List<DataProperty> = properties[kClass]?.values.orEmpty().toList()
    
            fun getClaimedFunctions(kClass: KClass<*>): Set<KFunction<*>> = claimedFunctions[kClass].orEmpty()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt

            val plugins = (result as DataObjectReflection).properties[pluginsProp]!!.value as DataObjectReflection
    
            val kotlinKaptPlugin = plugins.addedObjects
                .find {
                    val properties = (it as? DataObjectReflection)?.properties ?: error("unexpected object")
                    val id = properties[idProp] ?: error("no id proprety found")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java

         */
        @Deprecated
        public MavenBuildTimestamp(Instant time, Properties properties) {
            this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null);
        }
    
        public MavenBuildTimestamp(Instant time, String timestampFormat) {
            if (timestampFormat == null) {
                timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/mdo/java/WrapperProperties.java

            getter.get().forEach(action);
        }
    
        interface WriteOp<T> {
            T perform(Properties props);
        }
    
        interface WriteOpVoid {
            void perform(Properties props);
        }
    
        private <T> T writeOperation(WriteOp<T> runner) {
            Properties props = new Properties();
            props.putAll(getter.get());
            T ret = runner.perform(props);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

        }
    
        static Properties getBuildProperties() {
            Properties properties = new Properties();
    
            try (InputStream resourceAsStream =
                    MavenCli.class.getResourceAsStream("/org/apache/maven/messages/build.properties")) {
    
                if (resourceAsStream != null) {
                    properties.load(resourceAsStream);
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-base/src/main/java/org/gradle/caching/internal/origin/OriginMetadataFactory.java

            return outputStream -> {
                Properties properties = new Properties();
                properties.setProperty(BUILD_INVOCATION_ID_KEY, currentBuildInvocationId);
                properties.setProperty(TYPE_KEY, workType.getCanonicalName());
                properties.setProperty(IDENTITY_KEY, identity);
                properties.setProperty(CACHE_KEY, buildCacheKey.toString());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 15:16:00 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top