Merge "CloseGuard: Fix JavaDoc code sample to use correct API"

am: 88d4019b82

Change-Id: Ia7a2358ca77ec0b25817f4b52c6793648933e2c4
This commit is contained in:
David Su
2020-01-28 17:25:45 -08:00
committed by android-build-merger

View File

@@ -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();
*
* ...
*