diff --git a/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DefaultTempEntryRenamingStrategy.java b/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DefaultTempEntryRenamingStrategy.java
index e7d5cb63..3b7bfb20 100644
--- a/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DefaultTempEntryRenamingStrategy.java
+++ b/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DefaultTempEntryRenamingStrategy.java
@@ -26,18 +26,18 @@ import org.springframework.ldap.transaction.compensating.TempEntryRenamingStrate
/**
* Default implementation of {@link TempEntryRenamingStrategy}. This
- * implementation simply adds "_temp" to the leftmost (least siginificant part)
- * of the name, e.g.:
+ * implementation simply adds "_temp" to the leftmost (least significant part)
+ * of the name. For example:
*
- *
+ *
+ *
*
- * becomes
+ * becomes:
*
- *
* cn=john doe, ou=company1, c=SE
- *
+ * .
+ *
*
* cn=john doe_temp, ou=company1, c=SE
- *
* Note that using this strategy means that the entry remains in virtually the * same location as where it originally resided. This means that searches later @@ -58,8 +58,6 @@ public class DefaultTempEntryRenamingStrategy implements private String tempSuffix = DEFAULT_TEMP_SUFFIX; /* - * (non-Javadoc) - * * @see org.springframework.ldap.support.transaction.TempEntryRenamingStrategy#getTemporaryName(javax.naming.Name) */ public Name getTemporaryName(Name originalName) { diff --git a/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DifferentSubtreeTempEntryRenamingStrategy.java b/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DifferentSubtreeTempEntryRenamingStrategy.java index 91c7bf9b..2513d234 100644 --- a/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DifferentSubtreeTempEntryRenamingStrategy.java +++ b/spring-ldap/src/main/java/org/springframework/ldap/transaction/compensating/support/DifferentSubtreeTempEntryRenamingStrategy.java @@ -28,10 +28,10 @@ import org.springframework.ldap.transaction.compensating.TempEntryRenamingStrate * A {@link TempEntryRenamingStrategy} that moves the entry to a different * subtree than the original entry. The specified subtree needs to be present in * the LDAP tree; it will not be created and operations using this strategy will - * fail if it is not in place. However, this strategy is preferrable to - * {@link DefaultTempEntryRenamingStrategy}, as it makes it possible to have - * searches have the expected result even though the temporary entry still exits - * until the end of the transaction. + * fail if the destination is not in place. However, this strategy is preferable + * to {@link DefaultTempEntryRenamingStrategy}, as it makes searches have the + * expected result even though the temporary entry still exists during the + * transaction. *
* Example: If the specified subtreeNode is
* ou=tempEntries and the originalName is
@@ -68,8 +68,6 @@ public class DifferentSubtreeTempEntryRenamingStrategy implements
}
/*
- * (non-Javadoc)
- *
* @see org.springframework.ldap.support.transaction.TempEntryRenamingStrategy#getTemporaryName(javax.naming.Name)
*/
public Name getTemporaryName(Name originalName) {