activemq git commit: [AMQ-6652] add final modifier to test

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

activemq git commit: [AMQ-6652] add final modifier to test

gtully-2
Repository: activemq
Updated Branches:
  refs/heads/master ca5e41bb7 -> af03ad467


[AMQ-6652] add final modifier to test


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

Branch: refs/heads/master
Commit: af03ad467987fad7f1ee2d8382ed0acd17432a9b
Parents: ca5e41b
Author: gtully <[hidden email]>
Authored: Tue Apr 11 11:39:22 2017 +0100
Committer: gtully <[hidden email]>
Committed: Tue Apr 11 11:39:22 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/activemq/blob/af03ad46/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");

Loading...