Author: rajdavies
Date: Thu Mar 13 04:56:41 2008
New Revision: 636733
URL: http://svn.apache.org/viewvc?rev=636733&view=rev
Log:
remove unused method
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashIndex.java
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashIndex.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashIndex.java?rev=636733&r1=636732&r2=636733&view=diff
==============================================================================
---
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashIndex.java
(original)
+++
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashIndex.java
Thu Mar 13 04:56:41 2008
@@ -207,29 +207,7 @@
throw new RuntimeException(e);
}
}
- }
-
- public void dump() throws IOException {
- long offset = 0;
- readBuffer = new byte[pageSize];
- dataIn = new DataByteArrayInputStream();
- dataOut = new DataByteArrayOutputStream(pageSize);
- int count = 0;
- while ((offset + pageSize) <= indexFile.length()) {
- indexFile.seek(offset);
- HashPage page = getFullPage(offset);
- if (page.isActive()) {
-
- for (HashEntry entry : page.getEntries()) {
- count++;
- System.out.println("PAGE( " + count + ") " + page.getId()
+ ": " + entry);
- }
- }
- offset += pageSize;
- }
- }
-
-
+ }
public synchronized void unload() throws IOException {
if (loaded.compareAndSet(true, false)) {