activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [1/3] activemq git commit: fix deprecated import warn
Date Thu, 09 Jul 2015 13:11:29 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 52e452712 -> a05a9a212


fix deprecated import warn


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/802e968f
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/802e968f
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/802e968f

Branch: refs/heads/master
Commit: 802e968f9376d8f5378c27b422c4c66be6b6f074
Parents: 52e4527
Author: gtully <gary.tully@gmail.com>
Authored: Thu Jul 9 13:39:33 2015 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Thu Jul 9 13:39:33 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/activemq/store/SharedFileLockerTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/802e968f/activemq-unit-tests/src/test/java/org/apache/activemq/store/SharedFileLockerTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/store/SharedFileLockerTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/store/SharedFileLockerTest.java
index c5234fb..0c98b46 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/store/SharedFileLockerTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/store/SharedFileLockerTest.java
@@ -41,7 +41,7 @@ import org.junit.rules.TemporaryFolder;
 import org.slf4j.LoggerFactory;
 
 
-import static junit.framework.Assert.assertTrue;
+import static org.junit.Assert.assertTrue;
 
 public class SharedFileLockerTest {
     private static final org.slf4j.Logger LOG = LoggerFactory.getLogger(SharedFileLockerTest.class);
@@ -102,7 +102,7 @@ public class SharedFileLockerTest {
         try {
             locker1.doStart();
 
-            Assert.assertTrue(locker1.keepAlive());
+            assertTrue(locker1.keepAlive());
 
             thread = new Thread("Locker Thread") {
                 public void run() {
@@ -130,7 +130,7 @@ public class SharedFileLockerTest {
                 Thread.sleep(timewait);
             }
 
-            Assert.assertTrue(thread.isAlive());
+            assertTrue(thread.isAlive());
 
             locker1.stop();
 
@@ -145,7 +145,7 @@ public class SharedFileLockerTest {
                 Thread.sleep(1);
             }
 
-            Assert.assertTrue(locker2.keepAlive());
+            assertTrue(locker2.keepAlive());
 
             locker2.stop();
 


Mime
View raw message