From: Ben Soares Date: Tue, 20 Jun 2023 22:10:36 +0000 (+0100) Subject: JAL-4001 rename the init method X-Git-Tag: Release_2_11_4_0~260^2~13 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=52f14b6e936c51474df2486a8a7db182cae15ba2;p=jalview.git JAL-4001 rename the init method --- 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);