Minor cleanup to Loader documentation

PiperOrigin-RevId: 269092322
This commit is contained in:
olly 2019-09-14 17:58:15 +01:00 committed by Oliver Woodman
parent e784d2c507
commit 73654e27da

View File

@ -158,12 +158,12 @@ public final class Loader implements LoaderErrorThrower {
/** Retries the load using the default delay and resets the error count. */
public static final LoadErrorAction RETRY_RESET_ERROR_COUNT =
createRetryAction(/* resetErrorCount= */ true, C.TIME_UNSET);
/** Discards the failed loading task and ignores any errors that have occurred. */
/** Discards the failed {@link Loadable} and ignores any errors that have occurred. */
public static final LoadErrorAction DONT_RETRY =
new LoadErrorAction(ACTION_TYPE_DONT_RETRY, C.TIME_UNSET);
/**
* Discards the failed load. The next call to {@link #maybeThrowError()} will throw the last load
* error.
* Discards the failed {@link Loadable}. The next call to {@link #maybeThrowError()} will throw
* the last load error.
*/
public static final LoadErrorAction DONT_RETRY_FATAL =
new LoadErrorAction(ACTION_TYPE_DONT_RETRY_FATAL, C.TIME_UNSET);