From 52f14b6e936c51474df2486a8a7db182cae15ba2 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 20 Jun 2023 23:10:36 +0100 Subject: [PATCH] JAL-4001 rename the init method --- src/jalview/bin/Cache.java | 4 ++-- src/jalview/bin/Jalview.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index fbd70dd..8f90548 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -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); diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 8f467a4..75d7485 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -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); -- 1.7.10.2