1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 559877 - CBuildConfiguration.getProperties() returns an empty map

Change-Id: I3da2aee59eaf06b8e5d0bbd4ccc05b2a0139c3ef
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
This commit is contained in:
Fabrizio Iannetti 2020-02-06 02:06:07 +01:00 committed by Jonah Graham
parent 4d6ecb4f20
commit 5403404e09

View file

@ -1172,7 +1172,7 @@ public abstract class CBuildConfiguration extends PlatformObject implements ICBu
Map<String, String> properties = new HashMap<>();
Preferences settings = getSettings();
try {
for (String key : settings.childrenNames()) {
for (String key : settings.keys()) {
String value = settings.get(key, null);
if (value != null) {
properties.put(key, value);