Author: borges
Date: 2012-02-28 11:44:34 -0500 (Tue, 28 Feb 2012)
New Revision: 12216
Modified:
trunk/hornetq-journal/src/main/java/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java
Log:
Add dummy hashCode and equals to document situation with CallbackHolder.compareTo(,)
Modified:
trunk/hornetq-journal/src/main/java/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java
===================================================================
---
trunk/hornetq-journal/src/main/java/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java 2012-02-28
16:44:20 UTC (rev 12215)
+++
trunk/hornetq-journal/src/main/java/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java 2012-02-28
16:44:34 UTC (rev 12216)
@@ -790,6 +790,24 @@
this.message = message;
}
+
+ /**
+ * See {@link CallbackHolder}.
+ */
+ @Override
+ public int hashCode()
+ {
+ return super.hashCode();
+ }
+
+ /**
+ * See {@link CallbackHolder}.
+ */
+ @Override
+ public boolean equals(Object obj)
+ {
+ return super.equals(obj);
+ }
}
private class PollerRunnable implements Runnable
Show replies by date