Merge "CloseGuard: Fix JavaDoc code sample to use correct API" am: 88d4019b82 am: 87a25e33dd am: 363872235e
Change-Id: I615b0718b938185d9fa721c173d2bf0af3fc61d5
This commit is contained in:
@@ -26,7 +26,7 @@ import android.annotation.NonNull;
|
||||
* A simple example: <pre> {@code
|
||||
* class Foo {
|
||||
*
|
||||
* private final CloseGuard guard = CloseGuard.get();
|
||||
* private final CloseGuard guard = new CloseGuard();
|
||||
*
|
||||
* ...
|
||||
*
|
||||
@@ -64,7 +64,7 @@ import android.annotation.NonNull;
|
||||
* be deferred. For example: <pre> {@code
|
||||
* class Bar {
|
||||
*
|
||||
* private final CloseGuard guard = CloseGuard.get();
|
||||
* private final CloseGuard guard = new CloseGuard();
|
||||
*
|
||||
* ...
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user