Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/util/Smearer.java

Issue 1246033002: Roll cacheinvalidation to 20150720 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/util/Smearer.java
diff --git a/third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/util/Smearer.java b/third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/util/Smearer.java
index f95f3659fe8d35f6d87fde6131ee6338be39dcd3..3fcfa25ff7e010b7f62afc0ff480fea25816b841 100644
--- a/third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/util/Smearer.java
+++ b/third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/util/Smearer.java
@@ -30,12 +30,11 @@ public class Smearer {
private final Random random;
- /** The percentage (0, 1.0] for smearing the delay. */
+ /** The percentage [0, 1.0] for smearing the delay. */
private double smearFraction;
/**
- * Creates a smearer with the given random number generator. If {@code smearPercent} is 0, uses an
- * internal default for smearing.
+ * Creates a smearer with the given random number generator.
* <p>
* REQUIRES: 0 < smearPercent <= 100
*/

Powered by Google App Engine
This is Rietveld 408576698