directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1720870 - /directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java
Date Sat, 19 Dec 2015 00:32:09 GMT
Author: elecharny
Date: Sat Dec 19 00:32:09 2015
New Revision: 1720870

URL: http://svn.apache.org/viewvc?rev=1720870&view=rev
Log:
Fixed some compilation failure due to the use of the new LDAP API

Modified:
    directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java

Modified: directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java?rev=1720870&r1=1720869&r2=1720870&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java
(original)
+++ directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java
Sat Dec 19 00:32:09 2015
@@ -236,7 +236,7 @@ public class NewEntryDnWizardPage extend
                         IValue[] values = attribute.getValues();
                         for ( int v = 0; v < values.length; v++ )
                         {
-                            if ( values[v].getStringValue().equals( atav.getNormValue().getString()
) )
+                            if ( values[v].getStringValue().equals( atav.getValue().getNormValue()
) )
                             {
                                 attribute.deleteValue( values[v] );
                             }
@@ -295,7 +295,7 @@ public class NewEntryDnWizardPage extend
                         rdnAttribute = new Attribute( newEntry, atav.getType() );
                         newEntry.addAttribute( rdnAttribute );
                     }
-                    Object rdnValue = atav.getNormValue().getString();
+                    Object rdnValue = atav.getValue().getNormValue();
                     String[] stringValues = rdnAttribute.getStringValues();
                     if ( !Arrays.asList( stringValues ).contains( rdnValue ) )
                     {



Mime
View raw message