Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 311 for setProperty (0.13 seconds)

  1. okhttp-osgi-tests/src/test/kotlin/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'",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

        abstract val compatibilityDocFile: RegularFileProperty
    
        @TaskAction
        fun action() =
            fetchLatestKotlinVersions().let { latestKotlinVersions ->
                updateProperties {
                    setProperty("latests", latestKotlinVersions.joinToString(","))
                }
                updateCompatibilityDoc(
                    compatibilityDocFile,
                    "Gradle is tested with Kotlin",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    java.lang.System#exit(int)
    java.lang.Runtime#exit(int)
    java.lang.Runtime#halt(int)
    
    @defaultMessage Treat system properties as immutable
    java.lang.System#setProperties(java.util.Properties)
    java.lang.System#setProperty(java.lang.String,java.lang.String)
    java.lang.System#clearProperty(java.lang.String)
    java.lang.System#getProperties() @ Use BootstrapInfo.getSystemProperties for a read-only view
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  4. 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, UnaryOperator<String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
                String value = props.getProperty(name);
                if (value == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * {@return an immutable map of the project properties}.
         *
         * @param project the project for which to get the properties
         *
         * @see #setProperty(Project, String, String)
         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property. Properties set through this method are only valid
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

        // Test that we properly fall back to TCP when RDMA is not available
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true");
        context.getConfig().setProperty("jcifs.smb.client.rdmaProvider", "nonexistent");
        
        SmbFile file = new SmbFile("smb://server/share/test.txt", context);
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Override
        public void setProperty(@Nonnull Project project, @Nonnull String key, String value) {
            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. docs/smb3-features/02-persistent-handles-design.md

    }
    
    public int getHandleReconnectRetries() {
        return getIntProperty(HANDLE_RECONNECT_RETRIES, 3);
    }
    
    public String getHandleStateDirectory() {
        return getProperty(HANDLE_STATE_DIR, 
            System.getProperty("user.home") + "/.jcifs/handles");
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                }
            }
        }
    
        /**
         * Sets a property in the bean using cached lookups for improved performance.
         */
        public void setProperty(Object bean, String propertyName, Class<?> valueType, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            Class<?> beanType = bean.getClass();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top