Author: sebb Date: Wed Oct 30 23:18:35 2013 New Revision: 1537338 URL: http://svn.apache.org/r1537338 Log: Avoid data hiding
Modified: commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java Modified: commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java?rev=1537338&r1=1537337&r2=1537338&view=diff ============================================================================== --- commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java (original) +++ commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java Wed Oct 30 23:18:35 2013 @@ -109,8 +109,8 @@ public class PerformanceTest { } } - private void run(int nrIterations, int nrThreads, int maxTotal, int maxIdle) { - this.nrIterations = nrIterations; + private void run(int iterations, int nrThreads, int maxTotal, int maxIdle) { + this.nrIterations = iterations; SleepingObjectFactory factory = new SleepingObjectFactory(); if (logLevel >= 4) { factory.setDebug(true); } @@ -168,7 +168,7 @@ public class PerformanceTest { } System.out.println("-----------------------------------------"); - System.out.println("nrIterations: " + nrIterations); + System.out.println("nrIterations: " + iterations); System.out.println("nrThreads: " + nrThreads); System.out.println("maxTotal: " + maxTotal); System.out.println("maxIdle: " + maxIdle);