Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for jdkversions (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

            DefaultArtifactVersion jdkVersion = new DefaultArtifactVersion(convertJdkToMavenVersion(getJdkVersion()));
            return jdkVersionRange.containsVersion(jdkVersion);
        }
    
        private String convertJdkToMavenVersion(String jdk) {
            return jdk.replace("_", "-");
        }
    
        protected String getJdkVersion() {
            return JDK_VERSION;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

        @Override
        @BeforeEach
        void setUp() throws Exception {
            activator = new JdkVersionProfileActivator();
        }
    
        private Profile newProfile(String jdkVersion) {
            Activation a = Activation.newBuilder().jdk(jdkVersion).build();
    
            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
        private Properties newProperties(String javaVersion) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	var versions []byte
    	if err == nil {
    		versions = reduceCommonVersions(diskVersions, writeQuorum)
    		for index, dversions := range diskVersions {
    			if errs[index] != nil {
    				continue
    			}
    			if !bytes.Equal(dversions, versions) {
    				if len(dversions) > len(versions) {
    					versions = dversions
    				}
    				break
    			}
    		}
    		dataDir = reduceCommonDataDir(dataDirs, writeQuorum)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top