Gus Kenion
171d724362
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=119
21 lines
781 B
Diff
21 lines
781 B
Diff
--- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
|
|
+++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
|
|
@@ -21,7 +21,7 @@
|
|
package com.mysql.cj.conf;
|
|
|
|
import java.util.Collections;
|
|
-import java.util.HashMap;
|
|
+import java.util.TreeMap;
|
|
import java.util.Map;
|
|
|
|
import com.mysql.cj.Messages;
|
|
@@ -899,7 +899,7 @@ public class PropertyDefinitions {
|
|
//
|
|
};
|
|
|
|
- HashMap<PropertyKey, PropertyDefinition<?>> propertyKeyToPropertyDefinitionMap = new HashMap<>();
|
|
+ TreeMap<PropertyKey, PropertyDefinition<?>> propertyKeyToPropertyDefinitionMap = new TreeMap<>();
|
|
for (PropertyDefinition<?> pdef : pdefs) {
|
|
propertyKeyToPropertyDefinitionMap.put(pdef.getPropertyKey(), pdef);
|
|
}
|