activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cshan...@apache.org
Subject [1/2] activemq git commit: [AMQ-6652] add final modifier to test
Date Tue, 11 Apr 2017 14:28:11 GMT
Repository: activemq
Updated Branches:
  refs/heads/activemq-5.14.x 32a4d7449 -> b8a7aa80e


[AMQ-6652] add final modifier to test

(cherry picked from commit af03ad467987fad7f1ee2d8382ed0acd17432a9b)


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

Branch: refs/heads/activemq-5.14.x
Commit: b8a7aa80e524ee6d5d566b1236fd8431aa27c0d9
Parents: f3a3476
Author: gtully <gary.tully@gmail.com>
Authored: Tue Apr 11 11:39:22 2017 +0100
Committer: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Committed: Tue Apr 11 10:27:54 2017 -0400

----------------------------------------------------------------------
 .../activemq/store/kahadb/JournalMetaDataCheckpointTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/b8a7aa80/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/JournalMetaDataCheckpointTest.java
----------------------------------------------------------------------
diff --git a/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/JournalMetaDataCheckpointTest.java
b/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/JournalMetaDataCheckpointTest.java
index 9230ca5..bfe2244 100644
--- a/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/JournalMetaDataCheckpointTest.java
+++ b/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/JournalMetaDataCheckpointTest.java
@@ -142,7 +142,7 @@ public class JournalMetaDataCheckpointTest {
 
         // verify metadata is correct on disk
         final MessageDatabase.Metadata[] fromDiskMetaData = new MessageDatabase.Metadata[1];
-        KahaDBStore messageStore = ((KahaDBPersistenceAdapter) broker.getPersistenceAdapter()).getStore();
+        final KahaDBStore messageStore = ((KahaDBPersistenceAdapter) broker.getPersistenceAdapter()).getStore();
 
         // need to avoid cache and in-progress writes of existing pageFile
         PageFile fromDiskPageFile = new PageFile(messageStore.getIndexDirectory(), "db");


Mime
View raw message