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:
Oleh Prypin
2018-01-15 20:30:59 +01:00
committed by Commit Bot
parent 9c68613080
commit e78824ecd0
4 changed files with 4 additions and 0 deletions

View File

@ -266,6 +266,7 @@ public class ConnectActivity extends Activity {
}
}
@SuppressWarnings("StringSplitter")
private void connectToRoom(String roomId, boolean commandLineRun, boolean loopback,
boolean useValuesFromIntent, int runTimeMs) {
ConnectActivity.commandLineRun = commandLineRun;

View File

@ -484,6 +484,7 @@ class CpuMonitor {
* Read the current utilization of all CPUs using the cumulative first line
* of /proc/stat.
*/
@SuppressWarnings("StringSplitter")
private ProcStat readProcStat() {
long userTime = 0;
long systemTime = 0;

View File

@ -975,6 +975,7 @@ public class PeerConnectionClient {
}
}
@SuppressWarnings("StringSplitter")
private static String setStartBitrate(
String codec, boolean isVideoCodec, String sdpDescription, int bitrateKbps) {
String[] lines = sdpDescription.split("\r\n");