- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 59 for prop2 (0.02 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
Map<String, String> props = new LinkedHashMap<>(); props.put("javax.version", "3.1.0"); props.put("mockito.version", "1.10.19"); props.put("hamcret.version", "2.1"); props.put("lombok.version", "1.18.6"); props.put("junit.version", "4.12"); Model model = Model.newBuilder(true).properties(props).build(); String xml = toXml(model);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
defaultActivation.setActiveByDefault(true); defaultActivated.setActivation(defaultActivation); Properties props = System.getProperties(); ProfileManager profileManager = new DefaultProfileManager(getContainer(), props); profileManager.addProfile(notActivated); profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java
* variable lookup. * * @param props The properties to add the environment variables to, may be {@code null}. */ public static void addEnvVars(Properties props) { if (props != null) { if (envVars == null) { Properties tmp = new Properties();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy
List<PropertyDoc> properties = [] mixinClasses.each { mixin -> mixin.classProperties.each { prop -> properties << prop.forClass(targetClass) } } extraProperties.each { prop -> properties << prop.forClass(targetClass) } return properties.sort { it.name } } List<MethodDoc> getExtensionMethods() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Map<String, String> props = new HashMap<>(); props.put("aa", "${bb}"); props.put("bb", "${aa}"); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); Model model = new Model( org.apache.maven.api.model.Model.newBuilder().properties(props).build());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
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 {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.3K bytes - Click Count (0) -
build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy
package org.gradle.test class GroovyClassWithMethods { GroovyClassWithMethods(String prop) { this.prop = prop } /** * A method that returns String. */ String stringMethod(String stringParam) { 'value' } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 952 bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} Date readLastUpdated(File touchfile, String key) { getLogger().debug("Searching for " + key + " in resolution tracking file."); Properties props = read(touchfile); if (props != null) { String rawVal = props.getProperty(key); if (rawVal != null) { try { return new Date(Long.parseLong(rawVal));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java
class PropertiesAsMapTest { @Test void testPropertiesAsMap() { Properties props = new Properties(); props.setProperty("foo1", "bar1"); props.setProperty("foo2", "bar2"); PropertiesAsMap pam = new PropertiesAsMap(props); assertEquals(2, pam.size()); Set<Entry<String, String>> set = pam.entrySet(); assertNotNull(set);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
Artifact artifact = result.getArtifact(); Map<String, String> props = new HashMap<>(artifact.getProperties()); props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl); result.setArtifact(artifact.setProperties(props)); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 20 22:29:18 GMT 2025 - 6K bytes - Click Count (0)