Author: borges
Date: 2011-06-17 11:47:32 -0400 (Fri, 17 Jun 2011)
New Revision: 10845
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
Remove unused imports and dead code.
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-06-17
15:47:00 UTC (rev 10844)
+++
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-06-17
15:47:32 UTC (rev 10845)
@@ -63,13 +63,11 @@
import org.hornetq.core.paging.impl.PagingManagerImpl;
import org.hornetq.core.paging.impl.PagingStoreFactoryNIO;
import org.hornetq.core.persistence.GroupingInfo;
-import org.hornetq.core.persistence.OperationContext;
import org.hornetq.core.persistence.QueueBindingInfo;
import org.hornetq.core.persistence.StorageManager;
import org.hornetq.core.persistence.config.PersistedAddressSetting;
import org.hornetq.core.persistence.config.PersistedRoles;
import org.hornetq.core.persistence.impl.journal.JournalStorageManager;
-import org.hornetq.core.persistence.impl.journal.OperationContextImpl;
import org.hornetq.core.persistence.impl.nullpm.NullStorageManager;
import org.hornetq.core.postoffice.Binding;
import org.hornetq.core.postoffice.DuplicateIDCache;
@@ -1181,7 +1179,7 @@
{
return new PagingManagerImpl(new
PagingStoreFactoryNIO(configuration.getPagingDirectory(),
-
(long)configuration.getJournalBufferSize_NIO(),
+
configuration.getJournalBufferSize_NIO(),
scheduledPool,
executorFactory,
configuration.isJournalSyncNonTransactional()),
@@ -1281,14 +1279,6 @@
return true;
}
- private class FileActivateRunner implements Runnable
- {
- public void run()
- {
-
- }
- }
-
private void initialiseLogging()
{
LogDelegateFactory logDelegateFactory =
(LogDelegateFactory)instantiateInstance(configuration.getLogDelegateFactoryClassName());
@@ -1907,6 +1897,7 @@
}
}
+ @Override
public String toString()
{
return "HornetQServerImpl::" + (identity == null ? "" :
(identity + ", ")) + (nodeManager != null ? ("serverUUID=" +
nodeManager.getUUID()) : "");
Show replies by date