This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 8c9ab3d19 Take defaults into account even though they aren't used yet
8c9ab3d19 is described below
commit 8c9ab3d192797067f8edd45c077e16e863bddf7a
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sat Oct 11 08:09:06 2025 -0400
Take defaults into account even though they aren't used yet
Makes code like SortedProperties
---
.../org/apache/commons/collections4/properties/OrderedProperties.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java
b/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java
index 909ec5d82..3252b61f7 100644
---
a/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java
+++
b/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java
@@ -129,7 +129,7 @@ public class OrderedProperties extends Properties {
@Override
public Enumeration<?> propertyNames() {
- return Collections.enumeration(orderedKeys);
+ return Collections.enumeration(stringPropertyNames());
}
@Override