Fix out of data Javadoc

PiperOrigin-RevId: 226356758
This commit is contained in:
olly 2018-12-20 18:30:38 +00:00 committed by Oliver Woodman
parent d3ecbf75b2
commit a16f4aec90

View File

@ -30,10 +30,9 @@ import java.io.OutputStream;
/** /**
* Writes data into a cache. * Writes data into a cache.
* *
* <p>If the {@link DataSpec} object used with {@link #open(DataSpec)} method call has the {@code * <p>If the {@link DataSpec} passed to {@link #open(DataSpec)} has the {@code length} field set to
* length} field set to {@link C#LENGTH_UNSET} but {@link * {@link C#LENGTH_UNSET} and {@link DataSpec#FLAG_DONT_CACHE_IF_LENGTH_UNKNOWN} set, then {@link
* DataSpec#FLAG_ALLOW_CACHING_UNKNOWN_LENGTH} isn't set then {@link #write(byte[], int, int)} calls * #write(byte[], int, int)} calls are ignored.
* are ignored.
*/ */
public final class CacheDataSink implements DataSink { public final class CacheDataSink implements DataSink {