Skip to content

Commit

Permalink
Merge pull request #744 from NightlyNexus/eric/2017.04.25-doc-delay
Browse files Browse the repository at this point in the history
Fix outdated watch delay doc.
  • Loading branch information
JakeWharton authored Apr 25, 2017
2 parents f23cd01 + ca11051 commit c89b926
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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. -->
Expand Down Expand Up @@ -145,4 +147,4 @@
<!--module name="TodoComment"/-->
<module name="UpperEll"/>
</module>
</module>
</module>
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit c89b926

Please sign in to comment.