activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1076517 - /activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/Hasher.java
Date Thu, 03 Mar 2011 04:53:49 GMT
Author: chirino
Date: Thu Mar  3 04:53:48 2011
New Revision: 1076517

URL: http://svn.apache.org/viewvc?rev=1076517&view=rev
Log:
add in missing generic params.

Modified:
    activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/Hasher.java

Modified: activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/Hasher.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/Hasher.java?rev=1076517&r1=1076516&r2=1076517&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/Hasher.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/Hasher.java
Thu Mar  3 04:53:48 2011
@@ -352,7 +352,7 @@ public interface Hasher<N, K> {
      * Used to convert an object to a byte[] by basically doing:
      * Object.toString().getBytes("UTF-8")
      */
-    public class ToStringCodec extends VariableCodec {
+    public class ToStringCodec extends VariableCodec<Object> {
         public void encode(Object o, DataOutput dataOutput) throws IOException {
             dataOutput.write(o.toString().getBytes("UTF-8"));
         }
@@ -371,7 +371,7 @@ public interface Hasher<N, K> {
      * Object.toString() and uses a checksum to compute the hash of
      * the key and value.
      */
-    public class ToStringHasher extends BinaryHasher {
+    public class ToStringHasher extends BinaryHasher<Object, Object> {
 
         /**
          * Constructs a ToStringChecksumHasher that uses the JENKINS hash algorithim. 



Mime
View raw message