[Pkg-mozext-commits] [perspectives-extension] 25/44: Pers_client_policy - Copyedit function comment

David Prévot taffit at moszumanska.debian.org
Sat Jun 6 02:55:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository perspectives-extension.

commit 25a6b9000a9925636d225887c8f9f31b2ad83f3f
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Wed Nov 5 21:24:33 2014 -0700

    Pers_client_policy - Copyedit function comment
    
    Hopefully this is more clear
---
 plugin/chrome/content/client_policy.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugin/chrome/content/client_policy.js b/plugin/chrome/content/client_policy.js
index 97c37eb..e171d3e 100644
--- a/plugin/chrome/content/client_policy.js
+++ b/plugin/chrome/content/client_policy.js
@@ -256,10 +256,10 @@ key_weakly_seen_by_quorum : function(test_key, results, quorum_size, check_lengt
 	return (seen_count >= quorum_size);
 },
 
-// returns true if 'results' contains replies that are all 'inconsistent', which
-// according to our definition means that there was no timespan longer than
-// 'max_timespan' in the last 'check_length' days.  Only return 'true' if
-// there is more than one key that has been seen though.
+// return true if 'results' contains replies that are all 'inconsistent'.
+// inconsistent means:
+//   1) more than one key has been seen
+//   2) there was no timespan longer than 'max_timespan' in the last 'check_length' days
 inconsistency_check : function(results, max_timespan, check_length) {
 
 	if (max_timespan > check_length) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list