accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [06/21] git commit: ACCUMULO-3226 Remove unnecessary null check
Date Fri, 10 Oct 2014 22:41:48 GMT
ACCUMULO-3226 Remove unnecessary null check


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

Branch: refs/heads/master
Commit: 633e4df18492bac952651b6cd8bb56823cdf3c12
Parents: 7b1bb10
Author: Josh Elser <elserj@apache.org>
Authored: Fri Oct 10 17:28:10 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Fri Oct 10 17:28:10 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/core/security/Authorizations.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/633e4df1/core/src/main/java/org/apache/accumulo/core/security/Authorizations.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/security/Authorizations.java b/core/src/main/java/org/apache/accumulo/core/security/Authorizations.java
index b546a48..b983a59 100644
--- a/core/src/main/java/org/apache/accumulo/core/security/Authorizations.java
+++ b/core/src/main/java/org/apache/accumulo/core/security/Authorizations.java
@@ -131,7 +131,6 @@ public class Authorizations implements Iterable<byte[]>, Serializable
{
       }
     } else {
       // it's the old format
-      ArgumentChecker.notNull(authorizations);
       if (authorizations.length > 0)
         setAuthorizations(authsString.split(","));
     }


Mime
View raw message