You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2007/09/02 18:40:44 UTC

svn commit: r572022 - /webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/properties/schema/impl/SimpleResourcePropertiesSchema.java

Author: danj
Date: Sun Sep  2 09:40:42 2007
New Revision: 572022

URL: http://svn.apache.org/viewvc?rev=572022&view=rev
Log:
Fix for MUSE-246 - use LinkedHashMap to make sure properties stay in the order they're listed in the XSD

Modified:
    webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/properties/schema/impl/SimpleResourcePropertiesSchema.java

Modified: webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/properties/schema/impl/SimpleResourcePropertiesSchema.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/properties/schema/impl/SimpleResourcePropertiesSchema.java?rev=572022&r1=572021&r2=572022&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/properties/schema/impl/SimpleResourcePropertiesSchema.java (original)
+++ webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/properties/schema/impl/SimpleResourcePropertiesSchema.java Sun Sep  2 09:40:42 2007
@@ -22,7 +22,7 @@
 
 import java.util.Collection;
 import java.util.Collections;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.Map;
 
 import javax.xml.namespace.QName;
@@ -61,7 +61,7 @@
     // All of the type definitions in the schema. This is a 
     // Map[QName, PropertySchemaDefinition].
     //
-    private Map _definitionsByQName = new HashMap();
+    private Map _definitionsByQName = new LinkedHashMap();
     
     //
     // The name of the root element in the WSRP doc - this should be 



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org