You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2009/12/07 19:01:50 UTC
svn commit: r888059 -
/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/config/Ini.java
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) {