usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject [14/50] [abbrv] usergrid git commit: removed unnecessary NPE check.. adding it in the methods call it.
Date Mon, 01 Aug 2016 16:53:49 GMT
removed unnecessary NPE check.. adding it in the methods call it.


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

Branch: refs/heads/master
Commit: 6a790a8ef44a0d64eb4833b1cecb10b68032f8b4
Parents: 897d373
Author: Ayesha Dastagiri <ayesha.amrin@gmail.com>
Authored: Fri Jul 8 11:38:46 2016 -0700
Committer: Ayesha Dastagiri <ayesha.amrin@gmail.com>
Committed: Fri Jul 8 11:38:46 2016 -0700

----------------------------------------------------------------------
 .../usergrid/security/tokens/cassandra/TokenServiceImpl.java    | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/6a790a8e/stack/services/src/main/java/org/apache/usergrid/security/tokens/cassandra/TokenServiceImpl.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/security/tokens/cassandra/TokenServiceImpl.java
b/stack/services/src/main/java/org/apache/usergrid/security/tokens/cassandra/TokenServiceImpl.java
index 2234257..62d454a 100644
--- a/stack/services/src/main/java/org/apache/usergrid/security/tokens/cassandra/TokenServiceImpl.java
+++ b/stack/services/src/main/java/org/apache/usergrid/security/tokens/cassandra/TokenServiceImpl.java
@@ -799,12 +799,7 @@ public class TokenServiceImpl implements TokenService {
     }
 
     private String getExternalSSOProvider(){
-        try {
             return properties.getProperty(USERGRID_EXTERNAL_PROVIDER);
-        }
-        catch(NullPointerException e ){
-            throw new IllegalArgumentException("External SSO provider is enabled but the
provider name is empty");
-        }
     }
 
     /**


Mime
View raw message