directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1427835 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
Date Wed, 02 Jan 2013 16:03:35 GMT
Author: pamarcelot
Date: Wed Jan  2 16:03:34 2013
New Revision: 1427835

URL: http://svn.apache.org/viewvc?rev=1427835&view=rev
Log:
Fixed a potential NPE.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java?rev=1427835&r1=1427834&r2=1427835&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
Wed Jan  2 16:03:34 2013
@@ -272,7 +272,7 @@ public class PartitionsDiffComputer
                 }
 
                 // Creating a search operation context to get the children of the current
entry
-                SearchOperationContext soc = new SearchOperationContext( null, originalEntry.getDn(),
+                SearchOperationContext soc = new SearchOperationContext( null, destinationEntry.getDn(),
                     SearchScope.ONELEVEL,
                     FilterParser.parse( originalPartition.getSchemaManager(), "(objectClass=*)"
), attributeIds );
                 soc.setAliasDerefMode( AliasDerefMode.DEREF_ALWAYS );
@@ -288,6 +288,7 @@ public class PartitionsDiffComputer
         }
         catch ( Exception e )
         {
+            // e.printStackTrace();
             throw new PartitionsDiffException( e );
         }
 



Mime
View raw message