cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r825619 - /incubator/cassandra/trunk/src/java/org/apache/cassandra/db/marshal/BytesType.java
Date Thu, 15 Oct 2009 19:02:55 GMT
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);
     }
 }



Mime
View raw message