You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2018/08/24 17:34:47 UTC
directory-fortress-core git commit: minor cleanup
Repository: directory-fortress-core
Updated Branches:
refs/heads/master 865ca7de2 -> 2ac4c5ca2
minor cleanup
Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/2ac4c5ca
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/2ac4c5ca
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/2ac4c5ca
Branch: refs/heads/master
Commit: 2ac4c5ca27973e7c43471b7a41c00045f9e6786d
Parents: 865ca7d
Author: Shawn McKinney <sm...@apache.org>
Authored: Fri Aug 24 12:24:08 2018 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Fri Aug 24 12:24:08 2018 -0500
----------------------------------------------------------------------
src/main/java/org/apache/directory/fortress/core/impl/UserP.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/2ac4c5ca/src/main/java/org/apache/directory/fortress/core/impl/UserP.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/UserP.java b/src/main/java/org/apache/directory/fortress/core/impl/UserP.java
index e516643..d49c800 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/UserP.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/UserP.java
@@ -539,8 +539,7 @@ final class UserP
Session createSession( User user, RoleConstraint constraint, boolean trusted ) throws SecurityException
{
// Validate the constraint key/value fields are set:
- VUtil.assertNotNullOrEmpty( constraint.getKey(), GlobalErrIds.ROLE_CONSTRAINT_KEY_NULL, CLS_NM + "" +
- ".createSession" );
+ VUtil.assertNotNullOrEmpty( constraint.getKey(), GlobalErrIds.ROLE_CONSTRAINT_KEY_NULL, CLS_NM + ".createSession" );
VUtil.assertNotNullOrEmpty( constraint.getValue(), GlobalErrIds.ROLE_CONSTRAINT_VALUE_NULL, CLS_NM + ".createSession" );
// Load the constraint key/value into a property bag, pass into runtime context via user entity.
Properties props = new Properties( );