fix format string specifier

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

Branch: refs/heads/trunk
Commit: 99b3963b721601303859a3a87bce6984178892ab
Parents: 828572a
Author: Dave Brosius <dbros...@apache.org>
Authored: Wed Feb 13 20:36:11 2013 -0500
Committer: Dave Brosius <dbros...@apache.org>
Committed: Wed Feb 13 20:36:11 2013 -0500

----------------------------------------------------------------------
 .../apache/cassandra/cql3/functions/Functions.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/99b3963b/src/java/org/apache/cassandra/cql3/functions/Functions.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/functions/Functions.java 
b/src/java/org/apache/cassandra/cql3/functions/Functions.java
index 5b5e721..3660f5d 100644
--- a/src/java/org/apache/cassandra/cql3/functions/Functions.java
+++ b/src/java/org/apache/cassandra/cql3/functions/Functions.java
@@ -116,7 +116,7 @@ public abstract class Functions
             throw new InvalidRequestException(String.format("Type error: 
cannot assign result of function %s (type %s) to %s (type %s)", fun.name(), 
fun.returnType().asCQL3Type(), receiver, receiver.type.asCQL3Type()));
 
         if (providedArgs.size() != fun.argsType().size())
-            throw new InvalidRequestException(String.format("Invalid number of 
arguments in call to function %s: %d required but % provided", fun.name(), 
fun.argsType().size(), providedArgs.size()));
+            throw new InvalidRequestException(String.format("Invalid number of 
arguments in call to function %s: %d required but %d provided", fun.name(), 
fun.argsType().size(), providedArgs.size()));
 
         for (int i = 0; i < providedArgs.size(); i++)
         {

Reply via email to