From b8a7aa80e524ee6d5d566b1236fd8431aa27c0d9 Mon Sep 17 00:00:00 2001 From: gtully Date: Tue, 11 Apr 2017 11:39:22 +0100 Subject: [PATCH] [AMQ-6652] add final modifier to test (cherry picked from commit af03ad467987fad7f1ee2d8382ed0acd17432a9b) --- .../activemq/store/kahadb/JournalMetaDataCheckpointTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9230ca517f..bfe2244084 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");