From 36689add82e1e62d7935b2424f4c623ee730815b Mon Sep 17 00:00:00 2001 From: Bhaskar gyan vardhan Date: Tue, 24 Sep 2019 09:51:34 -0700 Subject: [PATCH] Update leak-canary-plugin.md (#519) Summary: Unexpected semicolon in refWatcher sample code copy pasting the sample code for refWatcher giving below error due to a semicolon in refWatcher code ![image](https://user-images.githubusercontent.com/10504808/63110022-25236b80-bfa8-11e9-8756-c95afc7d68a9.png) ## Changelog remove the semicolon from refWatcher sample code Pull Request resolved: https://github.com/facebook/flipper/pull/519 Reviewed By: danielbuechele Differential Revision: D17527312 Pulled By: passy fbshipit-source-id: c573736dec63de2e93113b56c24a7bab72bb0067 --- docs/setup/leak-canary-plugin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup/leak-canary-plugin.md b/docs/setup/leak-canary-plugin.md index 62462288d..7005e4bf0 100644 --- a/docs/setup/leak-canary-plugin.md +++ b/docs/setup/leak-canary-plugin.md @@ -26,7 +26,7 @@ Next, build a custom RefWatcher using RecordLeakService: (see [LeakCanary docs]( import com.facebook.flipper.plugins.leakcanary.RecordLeakService; RefWatcher refWatcher = LeakCanary.refWatcher(this) - .listenerServiceClass(RecordLeakService.class); + .listenerServiceClass(RecordLeakService.class) .buildAndInstall(); ```