File tree 1 file changed +2
-3
lines changed
cli/src/main/java/com/devonfw/tools/ide/commandlet
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
package com .devonfw .tools .ide .commandlet ;
2
2
3
3
import java .io .IOException ;
4
- import java .io .InputStream ;
5
4
import java .nio .file .AccessDeniedException ;
6
5
import java .nio .file .Files ;
7
6
import java .nio .file .Path ;
@@ -90,8 +89,8 @@ public void run() {
90
89
Properties mergedProperties = new Properties ();
91
90
mergedProperties .putAll (ideProperties .entrySet ().stream ().collect (Collectors .toMap (e -> e .getKey ().toString (), e -> e .getValue ())));
92
91
mergedProperties .putAll (devonProperties .entrySet ().stream ().collect (Collectors .toMap (e -> e .getKey ().toString (), e -> e .getValue ())));
93
- for (String name : ideProperties .stringPropertyNames ()) {
94
- mergedProperties .remove (name );
92
+ for (Entry < Object , Object > set : ideProperties .entrySet ()) {
93
+ mergedProperties .remove (set . getKey () );
95
94
}
96
95
97
96
for (Entry <Object , Object > set : mergedProperties .entrySet ()) {
You can’t perform that action at this time.
0 commit comments