From: <res...@us...> - 2010-09-30 11:25:18
|
Revision: 3689 http://bigdata.svn.sourceforge.net/bigdata/?rev=3689&view=rev Author: resendes Date: 2010-09-30 11:25:11 +0000 (Thu, 30 Sep 2010) Log Message: ----------- Added missing @After annotation to tear down method of TestMillisecondTimestampFactory Modified Paths: -------------- branches/bbb_cleanup/bigdata-core/src/test/java/com/bigdata/util/TestMillisecondTimestampFactory.java Modified: branches/bbb_cleanup/bigdata-core/src/test/java/com/bigdata/util/TestMillisecondTimestampFactory.java =================================================================== --- branches/bbb_cleanup/bigdata-core/src/test/java/com/bigdata/util/TestMillisecondTimestampFactory.java 2010-09-29 23:35:37 UTC (rev 3688) +++ branches/bbb_cleanup/bigdata-core/src/test/java/com/bigdata/util/TestMillisecondTimestampFactory.java 2010-09-30 11:25:11 UTC (rev 3689) @@ -32,6 +32,7 @@ import java.util.Date; +import org.junit.After; import org.junit.Test; /** @@ -192,7 +193,8 @@ * tests will affect other tests in the same JVM. Therefore, need to * reset value back to current time after each run. */ - protected void tearDown() throws Exception { + @After + public void tearDown() throws Exception { MillisecondTimestampFactory.setLowerBound(System.currentTimeMillis()); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |