Skip to content

Commit 8c9ab3d

Browse files
committed
Take defaults into account even though they aren't used yet
Makes code like SortedProperties
1 parent 3ed2a3a commit 8c9ab3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public synchronized Object merge(final Object key, final Object value,
129129

130130
@Override
131131
public Enumeration<?> propertyNames() {
132-
return Collections.enumeration(orderedKeys);
132+
return Collections.enumeration(stringPropertyNames());
133133
}
134134

135135
@Override

0 commit comments

Comments
 (0)