Skip to content

Commit b9c0050

Browse files
committed
Slightly simplified loop
1 parent 1c8d2d7 commit b9c0050

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arduino-core/src/cc/arduino/Compiler.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ public String build(List<CompilerProgressListener> progListeners, boolean export
185185

186186
PreferencesData.getMap()
187187
.subTree("runtime.build_properties_custom")
188-
.entrySet()
189-
.stream()
190-
.forEach(kv -> req.addBuildProperties(kv.getKey() + "=" + kv.getValue()));
188+
.forEach((k, v) -> req.addBuildProperties(k + "=" + v));
191189

192190
req.addBuildProperties("build.warn_data_percentage="
193191
+ PreferencesData.get("build.warn_data_percentage"));

0 commit comments

Comments
 (0)