cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Fix tests after #3649 (underscore removal)
Date Mon, 27 Feb 2012 13:23:46 GMT
Updated Branches:
  refs/heads/trunk a1e62017e -> 8e371d82d


Fix tests after #3649 (underscore removal)


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8e371d82
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8e371d82
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8e371d82

Branch: refs/heads/trunk
Commit: 8e371d82d69db50ad6591a78b25d07449205ec3a
Parents: a1e6201
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Mon Feb 27 14:23:35 2012 +0100
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Mon Feb 27 14:23:35 2012 +0100

----------------------------------------------------------------------
 .../apache/cassandra/net/MessageSerializer.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8e371d82/test/unit/org/apache/cassandra/net/MessageSerializer.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/net/MessageSerializer.java b/test/unit/org/apache/cassandra/net/MessageSerializer.java
index 8efb51e..33689ac 100644
--- a/test/unit/org/apache/cassandra/net/MessageSerializer.java
+++ b/test/unit/org/apache/cassandra/net/MessageSerializer.java
@@ -30,7 +30,7 @@ public class MessageSerializer implements IVersionedSerializer<Message>
     public void serialize(Message t, DataOutput dos, int version) throws IOException
     {
         assert t.getVersion() == version : "internode protocol version mismatch"; // indicates
programmer error.
-        Header.serializer().serialize( t.header_, dos, version);
+        Header.serializer().serialize(t.header, dos, version);
         byte[] bytes = t.getMessageBody();
         dos.writeInt(bytes.length);
         dos.write(bytes);


Mime
View raw message