Annotate rest of WebRTC with @Nullable.

Bug: webrtc:8881
Change-Id: Ic199efa73a0b3b9437df1e8fe5a1814a70380993
Reviewed-on: https://webrtc-review.googlesource.com/64884
Reviewed-by: Paulina Hensman <phensman@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22639}
This commit is contained in:
Sami Kalliomäki
2018-03-27 17:07:27 +02:00
committed by Commit Bot
parent 903dc861e7
commit dc52651911
17 changed files with 93 additions and 56 deletions

View File

@ -27,6 +27,7 @@ import android.support.test.filters.MediumTest;
import android.support.test.filters.SmallTest;
import java.io.IOException;
import java.util.concurrent.CountDownLatch;
import javax.annotation.Nullable;
import org.chromium.base.test.BaseJUnit4ClassRunner;
import org.junit.After;
import org.junit.Before;
@ -46,7 +47,7 @@ public class Camera2CapturerTest {
final LooperThread looperThread;
final CountDownLatch openDoneSignal;
final Object cameraDeviceLock;
CameraDevice cameraDevice; // Guarded by cameraDeviceLock
@Nullable CameraDevice cameraDevice; // Guarded by cameraDeviceLock
boolean openSucceeded; // Guarded by cameraDeviceLock
private class LooperThread extends Thread {