From 8ceb196758338574e45b021e0aa4f9a78a8c8bad Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 8 Jun 2009 11:00:34 +0000 Subject: [PATCH] ga tracker option and apply gpl development license --- src/jalview/bin/Cache.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index dad7326..4469975 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) + * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -87,6 +87,7 @@ import com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker; * service *
  • QUESTIONNAIRE last questionnaire:responder id string from questionnaire * service
  • + *
  • USAGESTATS (true) Enable google analytics tracker for collecting usage statistics
  • *
  • DAS_LOCAL_SOURCE list of local das sources
  • *
  • SHOW_OVERVIEW boolean for overview window display
  • *
  • ANTI_ALIAS boolean for smooth fonts
  • @@ -530,9 +531,13 @@ public class Cache } return localSources; } - - public static JGoogleAnalyticsTracker tracker=null; - + /** + * GA tracker object - null if tracking not enabled. + */ + protected static JGoogleAnalyticsTracker tracker=null; + /** + * Initialise the google tracker if it is not done already. + */ public static void initGoogleTracker() { if (tracker==null) -- 1.7.10.2