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

This commit is contained in:
Treehugger Robot
2020-01-29 01:18:12 +00:00
committed by Gerrit Code Review

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