JAL-4001 rename the init method
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 20 Jun 2023 22:10:36 +0000 (23:10 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 20 Jun 2023 22:10:36 +0000 (23:10 +0100)
src/jalview/bin/Cache.java
src/jalview/bin/Jalview.java

index fbd70dd..8f90548 100755 (executable)
@@ -959,10 +959,10 @@ public class Cache
    */
   public static void initGoogleTracker()
   {
-    initGoogleTracker(false);
+    initAnalytics(false);
   }
 
-  public static void initGoogleTracker(boolean headless)
+  public static void initAnalytics(boolean headless)
   {
     Plausible.setEnabled(true);
 
index 8f467a4..75d7485 100755 (executable)
@@ -827,7 +827,7 @@ public class Jalview
           if (Cache.getDefault("USAGESTATS", false)
                   && !argparser.getBoolean(Arg.NOUSAGESTATS))
           {
-            Cache.initGoogleTracker(headlessArg);
+            Cache.initAnalytics(headlessArg);
           }
           Jalview.exit("Successfully completed commands in headless mode",
                   0);