git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2de8acf
)
ga tracker option and apply gpl development license
author
jprocter
<Jim Procter>
Mon, 8 Jun 2009 11:00:34 +0000
(11:00 +0000)
committer
jprocter
<Jim Procter>
Mon, 8 Jun 2009 11:00:34 +0000
(11:00 +0000)
src/jalview/bin/Cache.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Cache.java
b/src/jalview/bin/Cache.java
index
dad7326
..
4469975
100755
(executable)
--- 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
*
* 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 </li>
* <li>QUESTIONNAIRE last questionnaire:responder id string from questionnaire
* service </li>
* service </li>
* <li>QUESTIONNAIRE last questionnaire:responder id string from questionnaire
* service </li>
+ * <li>USAGESTATS (true) Enable google analytics tracker for collecting usage statistics</li>
* <li>DAS_LOCAL_SOURCE list of local das sources </li>
* <li>SHOW_OVERVIEW boolean for overview window display </li>
* <li>ANTI_ALIAS boolean for smooth fonts </li>
* <li>DAS_LOCAL_SOURCE list of local das sources </li>
* <li>SHOW_OVERVIEW boolean for overview window display </li>
* <li>ANTI_ALIAS boolean for smooth fonts </li>
@@
-530,9
+531,13
@@
public class Cache
}
return localSources;
}
}
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)
public static void initGoogleTracker()
{
if (tracker==null)