From 02f63c97824ad2c567ffbea4b47b0d0b4bb711db Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Wed, 28 Sep 2011 19:10:40 +0000 Subject: [PATCH] fix for: https://issues.apache.org/jira/browse/AMQ-3515 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177022 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java index ea0d9c6def..161b3c93d4 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java @@ -23,7 +23,6 @@ import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; -import javax.xml.bind.annotation.XmlAnyAttribute; import org.apache.activemq.broker.BrokerService; import org.apache.activemq.broker.BrokerServiceAware; import org.apache.activemq.broker.ConnectionContext; @@ -96,6 +95,7 @@ public class MultiKahaDBPersistenceAdapter extends DestinationMap implements Per * * @org.apache.xbean.ElementType class="org.apache.activemq.store.kahadb.FilteredKahaDBPersistenceAdapter" */ + @SuppressWarnings({ "rawtypes", "unchecked" }) public void setFilteredPersistenceAdapters(List entries) { for (Object entry : entries) { FilteredKahaDBPersistenceAdapter filteredAdapter = (FilteredKahaDBPersistenceAdapter) entry; @@ -237,7 +237,7 @@ public class MultiKahaDBPersistenceAdapter extends DestinationMap implements Per } @Override - public void setDirectory(File dir) { + public void setDirectory(File directory) { this.directory = directory; }