Fork me on GitHub

Résultats CPD

Le document suivant contient les résultats de l'inspection CPD CPD 5.3.5.

Duplicatas

Fichier Ligne
fr/paris/lutece/plugins/mylutece/modules/ldapdatabase/authentication/util/LdapBrowser.java 159
fr/paris/lutece/plugins/mylutece/modules/ldapdatabase/authentication/util/LdapBrowser.java 247
            while ( ( userResults != null ) && userResults.hasMore(  ) )
            {
                sr = (SearchResult) userResults.next(  );

                Attributes attributes = sr.getAttributes(  );
                String strLdapId = "";

                if ( attributes.get( ATTRIBUTE_GUID ) != null )
                {
                    strLdapId = attributes.get( ATTRIBUTE_GUID ).get(  ).toString(  );
                }

                String strLastName = "";

                if ( attributes.get( ATTRIBUTE_FAMILY_NAME ) != null )
                {
                    strLastName = attributes.get( ATTRIBUTE_FAMILY_NAME ).get(  ).toString(  );
                }

                String strFirstName = "";

                if ( attributes.get( ATTRIBUTE_GIVEN_NAME ) != null )
                {
                    strFirstName = attributes.get( ATTRIBUTE_GIVEN_NAME ).get(  ).toString(  );
                }

                String strEmail = "";

                if ( attributes.get( ATTRIBUTE_EMAIL ) != null )
                {
                    strEmail = attributes.get( ATTRIBUTE_EMAIL ).get(  ).toString(  );
                }