- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for stringPropertyNames (0.1 sec)
-
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
Map<String, String> properties = new HashMap<>(); Properties env = OperatingSystemUtils.getSystemEnvVars(); env.stringPropertyNames() .forEach(k -> properties.put("env." + k, env.getProperty(k))); return properties;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java
@Nonnull public static Map<String, String> toMap(Properties properties) { requireNonNull(properties, "properties"); HashMap<String, String> map = new HashMap<>(); for (String key : properties.stringPropertyNames()) { map.put(key, properties.getProperty(key)); } return map; } @Nonnull public static Properties toProperties(Map<String, String> properties) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
// ---------------------------------------------------------------------- Set<String> sys = SystemProperties.getSystemProperties().stringPropertyNames(); userProperties.stringPropertyNames().stream() .filter(k -> !sys.contains(k)) .forEach(k -> System.setProperty(k, userProperties.getProperty(k))); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0)