Merge pull request #744 from NightlyNexus/eric/2017.04.25-doc-delay
Fix outdated watch delay doc.
diff --git a/checkstyle.xml b/checkstyle.xml
index 7fb7ad3..d6b359f 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -72,7 +72,9 @@
<module name="AvoidStarImport"/>
<module name="IllegalImport"/>
<module name="RedundantImport"/>
- <module name="UnusedImports"/>
+ <module name="UnusedImports">
+ <property name="processJavadoc" value="true"/>
+ </module>
<!-- Checks for Size Violations. -->
@@ -145,4 +147,4 @@
<!--module name="TodoComment"/-->
<module name="UpperEll"/>
</module>
-</module>
\ No newline at end of file
+</module>
diff --git a/leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidWatchExecutor.java b/leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidWatchExecutor.java
index defca11..585af09 100644
--- a/leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidWatchExecutor.java
+++ b/leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidWatchExecutor.java
@@ -19,13 +19,14 @@
import android.os.HandlerThread;
import android.os.Looper;
import android.os.MessageQueue;
+import java.util.concurrent.TimeUnit;
import static com.squareup.leakcanary.Retryable.Result.RETRY;
/**
* {@link WatchExecutor} suitable for watching Android reference leaks. This executor waits for the
- * main thread to be idle then posts to a serial background thread with a delay of
- * {@link R.integer#leak_canary_watch_delay_millis} seconds.
+ * main thread to be idle then posts to a serial background thread with the delay specified by
+ * {@link AndroidRefWatcherBuilder#watchDelay(long, TimeUnit)}.
*/
public final class AndroidWatchExecutor implements WatchExecutor {