Merge "CloseGuard: Fix JavaDoc code sample to use correct API"
am: 88d4019b82
Change-Id: Ia7a2358ca77ec0b25817f4b52c6793648933e2c4
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