Suppress ErrorProne StringSplitter warnings
Bug: webrtc:8750 Change-Id: I1ff1bae680659f804c72eab5d14cf9c8c5046b90 Reviewed-on: https://webrtc-review.googlesource.com/39660 Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21625}
This commit is contained in:
@ -266,6 +266,7 @@ public class ConnectActivity extends Activity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("StringSplitter")
|
||||||
private void connectToRoom(String roomId, boolean commandLineRun, boolean loopback,
|
private void connectToRoom(String roomId, boolean commandLineRun, boolean loopback,
|
||||||
boolean useValuesFromIntent, int runTimeMs) {
|
boolean useValuesFromIntent, int runTimeMs) {
|
||||||
ConnectActivity.commandLineRun = commandLineRun;
|
ConnectActivity.commandLineRun = commandLineRun;
|
||||||
|
@ -484,6 +484,7 @@ class CpuMonitor {
|
|||||||
* Read the current utilization of all CPUs using the cumulative first line
|
* Read the current utilization of all CPUs using the cumulative first line
|
||||||
* of /proc/stat.
|
* of /proc/stat.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("StringSplitter")
|
||||||
private ProcStat readProcStat() {
|
private ProcStat readProcStat() {
|
||||||
long userTime = 0;
|
long userTime = 0;
|
||||||
long systemTime = 0;
|
long systemTime = 0;
|
||||||
|
@ -975,6 +975,7 @@ public class PeerConnectionClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("StringSplitter")
|
||||||
private static String setStartBitrate(
|
private static String setStartBitrate(
|
||||||
String codec, boolean isVideoCodec, String sdpDescription, int bitrateKbps) {
|
String codec, boolean isVideoCodec, String sdpDescription, int bitrateKbps) {
|
||||||
String[] lines = sdpDescription.split("\r\n");
|
String[] lines = sdpDescription.split("\r\n");
|
||||||
|
@ -29,6 +29,7 @@ public class FileVideoCapturer implements VideoCapturer {
|
|||||||
/**
|
/**
|
||||||
* Read video data from file for the .y4m container.
|
* Read video data from file for the .y4m container.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("StringSplitter")
|
||||||
private static class VideoReaderY4M implements VideoReader {
|
private static class VideoReaderY4M implements VideoReader {
|
||||||
private static final String TAG = "VideoReaderY4M";
|
private static final String TAG = "VideoReaderY4M";
|
||||||
private static final String Y4M_FRAME_DELIMETER = "FRAME";
|
private static final String Y4M_FRAME_DELIMETER = "FRAME";
|
||||||
|
Reference in New Issue
Block a user