Author: clebert.suconic(a)jboss.com
Date: 2009-11-12 10:46:28 -0500 (Thu, 12 Nov 2009)
New Revision: 8274
Modified:
trunk/src/main/org/hornetq/core/journal/IOCallback.java
trunk/src/main/org/hornetq/core/journal/impl/AbstractSequentialFile.java
Log:
Removing wrong AIOCallback usage from the journal package
Modified: trunk/src/main/org/hornetq/core/journal/IOCallback.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/IOCallback.java 2009-11-12 14:38:03 UTC (rev
8273)
+++ trunk/src/main/org/hornetq/core/journal/IOCallback.java 2009-11-12 15:46:28 UTC (rev
8274)
@@ -17,7 +17,7 @@
/**
*
- * This class is just a direct extention of AIOCallback.
+ * This class is just a direct extension of AIOCallback.
* Just to avoid the direct dependency of org.hornetq.core.asynciio.AIOCallback from the
journal.
*
* @author <a href="mailto:clebert.suconic@jboss.com">Clebert
Suconic</a>
Modified: trunk/src/main/org/hornetq/core/journal/impl/AbstractSequentialFile.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/impl/AbstractSequentialFile.java 2009-11-12
14:38:03 UTC (rev 8273)
+++ trunk/src/main/org/hornetq/core/journal/impl/AbstractSequentialFile.java 2009-11-12
15:46:28 UTC (rev 8274)
@@ -18,7 +18,6 @@
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
-import org.hornetq.core.asyncio.AIOCallback;
import org.hornetq.core.journal.IOCallback;
import org.hornetq.core.journal.SequentialFile;
import org.hornetq.core.journal.SequentialFileFactory;
@@ -240,7 +239,7 @@
public void onError(int errorCode, String errorMessage)
{
- for (AIOCallback callback : delegates)
+ for (IOCallback callback : delegates)
{
try
{
Show replies by date