I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 6117d882 authored by zzz's avatar zzz
Browse files

Router: One more conversion to ObjectCounterUnsafe

parent 886adb12
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ import net.i2p.router.RouterContext; ...@@ -15,7 +15,7 @@ import net.i2p.router.RouterContext;
import net.i2p.util.FileSuffixFilter; import net.i2p.util.FileSuffixFilter;
import net.i2p.util.FileUtil; import net.i2p.util.FileUtil;
import net.i2p.util.Log; import net.i2p.util.Log;
import net.i2p.util.ObjectCounter; import net.i2p.util.ObjectCounterUnsafe;
import net.i2p.util.OrderedProperties; import net.i2p.util.OrderedProperties;
import net.i2p.util.SecureDirectory; import net.i2p.util.SecureDirectory;
import net.i2p.util.SystemVersion; import net.i2p.util.SystemVersion;
...@@ -349,7 +349,7 @@ public class ClientAppConfig { ...@@ -349,7 +349,7 @@ public class ClientAppConfig {
*/ */
public synchronized static void writeClientAppConfig(I2PAppContext ctx, List<ClientAppConfig> apps) throws IOException { public synchronized static void writeClientAppConfig(I2PAppContext ctx, List<ClientAppConfig> apps) throws IOException {
// Gather the set of config files // Gather the set of config files
ObjectCounter<File> counter = new ObjectCounter<File>(); ObjectCounterUnsafe<File> counter = new ObjectCounterUnsafe<File>();
for (ClientAppConfig cac : apps) { for (ClientAppConfig cac : apps) {
File f = cac.configFile; File f = cac.configFile;
if (f == null) if (f == null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment