mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
Slightly simplified loop
This commit is contained in:
parent
b306f84038
commit
727e3694c4
@ -187,9 +187,7 @@ public class Compiler implements MessageConsumer {
|
||||
|
||||
PreferencesData.getMap()
|
||||
.subTree("runtime.build_properties_custom")
|
||||
.entrySet()
|
||||
.stream()
|
||||
.forEach(kv -> req.addBuildProperties(kv.getKey() + "=" + kv.getValue()));
|
||||
.forEach((k, v) -> req.addBuildProperties(k + "=" + v));
|
||||
|
||||
req.addBuildProperties("build.warn_data_percentage="
|
||||
+ PreferencesData.get("build.warn_data_percentage"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user