Author: jmesnil
Date: 2009-11-27 04:01:32 -0500 (Fri, 27 Nov 2009)
New Revision: 8424
Modified:
trunk/src/main/org/hornetq/utils/Pair.java
Log:
added toString() method
Modified: trunk/src/main/org/hornetq/utils/Pair.java
===================================================================
--- trunk/src/main/org/hornetq/utils/Pair.java 2009-11-27 08:53:34 UTC (rev 8423)
+++ trunk/src/main/org/hornetq/utils/Pair.java 2009-11-27 09:01:32 UTC (rev 8424)
@@ -74,4 +74,10 @@
(pother.b == null ? b == null : pother.b.equals(b));
}
+
+ @Override
+ public String toString()
+ {
+ return "Pair[a=" + a + ", b=" + b + "]";
+ }
}
Show replies by date