Author: toad
Date: 2007-07-14 15:33:44 +0000 (Sat, 14 Jul 2007)
New Revision: 14116
Modified:
trunk/freenet/src/freenet/config/PersistentConfig.java
Log:
DOH!
Modified: trunk/freenet/src/freenet/config/PersistentConfig.java
===================================================================
--- trunk/freenet/src/freenet/config/PersistentConfig.java 2007-07-14
15:22:26 UTC (rev 14115)
+++ trunk/freenet/src/freenet/config/PersistentConfig.java 2007-07-14
15:33:44 UTC (rev 14116)
@@ -44,7 +44,7 @@
SubConfig[] configs;
synchronized(this) {
// FIXME maybe keep a cache of this?
- configs = (SubConfig[])
configsByPrefix.keySet().toArray(new SubConfig[configsByPrefix.size()]);
+ configs = (SubConfig[])
configsByPrefix.values().toArray(new SubConfig[configsByPrefix.size()]);
}
SubConfig current;
for(int i=0;i<configs.length;i++) {