You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2009/10/15 21:02:55 UTC

svn commit: r825619 - /incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java

Author: eevans
Date: Thu Oct 15 19:02:54 2009
New Revision: 825619

URL: http://svn.apache.org/viewvc?rev=825619&view=rev
Log:
convert bytes to hex for BytesType.getString()

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java?rev=825619&r1=825618&r2=825619&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java Thu Oct 15 19:02:54 2009
@@ -34,6 +34,6 @@
 
     public String getString(byte[] bytes)
     {
-        return Arrays.toString(bytes);
+        return FBUtilities.bytesToHex(bytes);
     }
 }