From 011240333ee22408cdd96d1e4f41dee07af15034 Mon Sep 17 00:00:00 2001 From: aleloi Date: Mon, 23 Jan 2017 03:10:39 -0800 Subject: [PATCH] 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} --- .../androidapp/src/org/appspot/apprtc/CpuMonitor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java index 7e28df2f5e..bc1bb27661 100644 --- a/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java +++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java @@ -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