Fix errors in Transformer demo

PiperOrigin-RevId: 393951084
This commit is contained in:
kimvde 2021-08-31 10:33:43 +01:00 committed by kim-vde
parent 3183183d54
commit 882957228c

View file

@ -333,7 +333,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
/** Returns the {@link BufferInfo} associated with the current output buffer, if available. */
@Nullable
public BufferInfo getOutputBufferInfo() {
return maybeDequeueAndSetOutputBuffer() ? outputBufferInfo : null;
return maybeDequeueOutputBuffer() ? outputBufferInfo : null;
}
/**