cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: add missing string format specifier char
Date Fri, 15 Feb 2013 05:30:07 GMT
Updated Branches:
  refs/heads/cassandra-1.2 f2a57f04c -> 0d30c8cea


add missing string format specifier char


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

Branch: refs/heads/cassandra-1.2
Commit: 0d30c8ceaef95e05979a0271b8b11baac4ee5502
Parents: f2a57f0
Author: Dave Brosius <dbrosius@apache.org>
Authored: Fri Feb 15 00:22:54 2013 -0500
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Fri Feb 15 00:22:54 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cql3/Operation.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/0d30c8ce/src/java/org/apache/cassandra/cql3/Operation.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/Operation.java b/src/java/org/apache/cassandra/cql3/Operation.java
index 9754f50..90887e0 100644
--- a/src/java/org/apache/cassandra/cql3/Operation.java
+++ b/src/java/org/apache/cassandra/cql3/Operation.java
@@ -248,7 +248,7 @@ public abstract class Operation
             if (!(receiver.type instanceof CollectionType))
             {
                 if (!(receiver.type instanceof CounterColumnType))
-                    throw new InvalidRequestException(String.format("Invalid operation for
non counter column %s", toString(receiver), receiver));
+                    throw new InvalidRequestException(String.format("Invalid operation (%s)
for non counter column %s", toString(receiver), receiver));
                 return new Constants.Adder(receiver.kind == CFDefinition.Name.Kind.VALUE_ALIAS
? null : receiver.name, v);
             }
 


Mime
View raw message