shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r888059 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java
Date Mon, 07 Dec 2009 18:01:50 GMT
Author: lhazlewood
Date: Mon Dec  7 18:01:50 2009
New Revision: 888059

URL: http://svn.apache.org/viewvc?rev=888059&view=rev
Log:
Ensured the backing map was a LinkedHashMap to retain section definition order (could be nice
for iterating or when writing to an output stream to retain input order)

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java?rev=888059&r1=888058&r2=888059&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java Mon Dec  7 18:01:50
2009
@@ -44,7 +44,7 @@
     private final Map<String, Section> sections;
 
     public Ini() {
-        this.sections = new HashMap<String, Section>();
+        this.sections = new LinkedHashMap<String, Section>();
     }
 
     public Ini(Ini defaults) {



Mime
View raw message