Fix 1 ErrorProneStyle finding:

* @Override is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs. @CryptoType is a TYPE_USE annotation, so should appear after modifiers and directly before the type.

PiperOrigin-RevId: 418811744
This commit is contained in:
olly 2021-12-29 18:04:00 +00:00 committed by tonihei
parent aa467f52e4
commit a57245e782

View File

@ -1758,8 +1758,7 @@ public final class SampleQueueTest {
}
@Override
@C.CryptoType
public int getCryptoType(Format format) {
public @C.CryptoType int getCryptoType(Format format) {
return mockPlaceholderDrmSession != null || format.drmInitData != null
? FakeCryptoConfig.TYPE
: C.CRYPTO_TYPE_NONE;