Minor style change suggested by internal static analysis tool.
TBR=sakal@webrtc.org BUG=None Review-Url: https://codereview.webrtc.org/2646413002 Cr-Commit-Position: refs/heads/master@{#16207}
This commit is contained in:
@ -114,7 +114,7 @@ class CpuMonitor {
|
||||
private final int size;
|
||||
private double sum;
|
||||
private double currentValue;
|
||||
private double circBuffer[];
|
||||
private double[] circBuffer;
|
||||
private int circBufferIndex;
|
||||
|
||||
public MovingAverage(int size) {
|
||||
@ -480,7 +480,7 @@ class CpuMonitor {
|
||||
// cpu 5093818 271838 3512830 165934119 101374 447076 272086 0 0 0
|
||||
// user nice system idle iowait irq softirq
|
||||
String line = reader.readLine();
|
||||
String lines[] = line.split("\\s+");
|
||||
String[] lines = line.split("\\s+");
|
||||
int length = lines.length;
|
||||
if (length >= 5) {
|
||||
userTime = parseLong(lines[1]); // user
|
||||
|
||||
Reference in New Issue
Block a user