You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/10/11 00:41:46 UTC

[04/21] git commit: ACCUMULO-3226 Remove unnecessary null check

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/1.5
Commit: 633e4df18492bac952651b6cd8bb56823cdf3c12
Parents: 7b1bb10
Author: Josh Elser <el...@apache.org>
Authored: Fri Oct 10 17:28:10 2014 -0400
Committer: Josh Elser <el...@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(","));
     }