directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1720871 - in /directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core: jobs/CopyEntriesRunnable.java model/impl/Value.java
Date Sat, 19 Dec 2015 00:32:50 GMT
Author: elecharny
Date: Sat Dec 19 00:32:50 2015
New Revision: 1720871

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

Modified:
    directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesRunnable.java
    directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java

Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesRunnable.java?rev=1720871&r1=1720870&r2=1720871&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesRunnable.java
(original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesRunnable.java
Sat Dec 19 00:32:50 2015
@@ -445,7 +445,7 @@ public class CopyEntriesRunnable impleme
             Attribute attribute = attributes.get( atav.getType() );
             if ( attribute != null )
             {
-                attribute.remove( atav.getNormValue().getString() );
+                attribute.remove( atav.getValue().getNormValue() );
                 if ( attribute.size() == 0 )
                 {
                     attributes.remove( atav.getType() );
@@ -463,9 +463,9 @@ public class CopyEntriesRunnable impleme
                 attribute = new BasicAttribute( atav.getType() );
                 attributes.put( attribute );
             }
-            if ( !attribute.contains( atav.getNormValue().getString() ) )
+            if ( !attribute.contains( atav.getValue().getNormValue() ) )
             {
-                attribute.add( atav.getNormValue().getString() );
+                attribute.add( atav.getValue().getNormValue() );
             }
         }
     }

Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java?rev=1720871&r1=1720870&r2=1720871&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
(original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
Sat Dec 19 00:32:50 2015
@@ -310,7 +310,7 @@ public class Value implements IValue
         {
             Ava ava = atavIterator.next();
             if ( getAttribute().getDescription().equals( ava.getNormType() )
-                && getStringValue().equals( ava.getNormValue().getString() ) )
+                && getStringValue().equals( ava.getValue().getNormValue() ) )
             {
                 return true;
             }



Mime
View raw message