From 6117d8822eb6b1e93693c95e8b5af3e3756f23e6 Mon Sep 17 00:00:00 2001
From: zzz <zzz@i2pmail.org>
Date: Fri, 27 Jan 2023 07:10:01 -0500
Subject: [PATCH] Router: One more conversion to ObjectCounterUnsafe

---
 router/java/src/net/i2p/router/startup/ClientAppConfig.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/router/java/src/net/i2p/router/startup/ClientAppConfig.java b/router/java/src/net/i2p/router/startup/ClientAppConfig.java
index 291c2d6659..cc12c88cc0 100644
--- a/router/java/src/net/i2p/router/startup/ClientAppConfig.java
+++ b/router/java/src/net/i2p/router/startup/ClientAppConfig.java
@@ -15,7 +15,7 @@ import net.i2p.router.RouterContext;
 import net.i2p.util.FileSuffixFilter;
 import net.i2p.util.FileUtil;
 import net.i2p.util.Log;
-import net.i2p.util.ObjectCounter;
+import net.i2p.util.ObjectCounterUnsafe;
 import net.i2p.util.OrderedProperties;
 import net.i2p.util.SecureDirectory;
 import net.i2p.util.SystemVersion;
@@ -349,7 +349,7 @@ public class ClientAppConfig {
      */
     public synchronized static void writeClientAppConfig(I2PAppContext ctx, List<ClientAppConfig> apps) throws IOException {
         // Gather the set of config files
-        ObjectCounter<File> counter = new ObjectCounter<File>();
+        ObjectCounterUnsafe<File> counter = new ObjectCounterUnsafe<File>();
         for (ClientAppConfig cac : apps) {
             File f = cac.configFile;
             if (f == null)
-- 
GitLab