Update of /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23336/test/unit/org/webmacro/template
Modified Files:
TestSyntheticTemplate.java
Log Message:
Field hiding
Index: TestSyntheticTemplate.java
===================================================================
RCS file: /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template/TestSyntheticTemplate.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** TestSyntheticTemplate.java 18 Mar 2008 10:08:17 -0000 1.10
--- TestSyntheticTemplate.java 12 Nov 2008 20:23:32 -0000 1.11
***************
*** 270,274 ****
duration = System.currentTimeMillis() - duration;
for (int index = 0; index < threadCount; index++)
! tet += threadTest[index].tet;
}
--- 270,274 ----
duration = System.currentTimeMillis() - duration;
for (int index = 0; index < threadCount; index++)
! tet += threadTest[index].tet1;
}
***************
*** 276,285 ****
class ThreadTest extends Thread
{
! long tet = 0;
public void run ()
{
! this.tet = System.currentTimeMillis();
for (int index = 0; index < iterationCount; index++)
{
--- 276,285 ----
class ThreadTest extends Thread
{
! long tet1 = 0;
public void run ()
{
! this.tet1 = System.currentTimeMillis();
for (int index = 0; index < iterationCount; index++)
{
***************
*** 299,303 ****
if (it > worstCase) worstCase = it;
}
! this.tet = System.currentTimeMillis() - tet;
}
}
--- 299,303 ----
if (it > worstCase) worstCase = it;
}
! this.tet1 = System.currentTimeMillis() - tet1;
}
}
|