directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject [directory-fortress-core] branch master updated: code cleanup
Date Sat, 24 Oct 2020 21:23:29 GMT
This is an automated email from the ASF dual-hosted git repository.

smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d6c67f  code cleanup
2d6c67f is described below

commit 2d6c67fabdca8cfc7676ec37aea3972e1f2ab5e5
Author: Shawn McKinney <smckinney@symas.com>
AuthorDate: Sat Oct 24 16:23:23 2020 -0500

    code cleanup
---
 src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
index c498155..9d70437 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
@@ -245,7 +245,6 @@ final class UserDAO extends LdapDataProvider implements PropUpdater
             Entry myEntry = new DefaultEntry( dn );
 
             myEntry.add( SchemaConstants.OBJECT_CLASS_AT, getUserObjectClass() );
-            //myEntry.add( SchemaConstants.OBJECT_CLASS_AT, USER_OBJ_CLASS );
             myEntry.add( GlobalIds.FT_IID, entity.getInternalId() );
             myEntry.add( SchemaConstants.UID_AT, entity.getUserId() );
 
@@ -628,9 +627,7 @@ final class UserDAO extends LdapDataProvider implements PropUpdater
 
         try
         {
-            //ld = getAdminConnection();
             List<Modification> mods = new ArrayList<Modification>();
-
             mods.add( new DefaultModification( ModificationOperation.REMOVE_ATTRIBUTE, OPENLDAP_PW_LOCKED_TIME
) );
             ld = getAdminConnection();
             modify( ld, userDn, mods, user );


Mime
View raw message