cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject git commit: Ninja-fix a typo in DropUserStatement
Date Sat, 23 Feb 2013 00:42:02 GMT
Updated Branches:
  refs/heads/cassandra-1.2 3e8bffd00 -> d055df734


Ninja-fix a typo in DropUserStatement


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

Branch: refs/heads/cassandra-1.2
Commit: d055df7341df013b9e45dbf7b11861983d2e0f38
Parents: 3e8bffd
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Sat Feb 23 03:41:10 2013 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Sat Feb 23 03:41:10 2013 +0300

----------------------------------------------------------------------
 .../cql3/statements/DropUserStatement.java         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d055df73/src/java/org/apache/cassandra/cql3/statements/DropUserStatement.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/DropUserStatement.java b/src/java/org/apache/cassandra/cql3/statements/DropUserStatement.java
index ae6cf67..d55566c 100644
--- a/src/java/org/apache/cassandra/cql3/statements/DropUserStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/DropUserStatement.java
@@ -42,7 +42,7 @@ public class DropUserStatement extends AuthenticationStatement
         state.ensureNotAnonymous();
 
         if (!Auth.isExistingUser(username))
-            throw new InvalidRequestException(String.format("User %s doesn't exists", username));
+            throw new InvalidRequestException(String.format("User %s doesn't exist", username));
 
         AuthenticatedUser user = state.getUser();
         if (user != null && user.getName().equals(username))


Mime
View raw message