Massive package refactoring
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / ldap / LdapEntryWorkingCopy.java
diff --git a/org.argeo.util/src/org/argeo/util/directory/ldap/LdapEntryWorkingCopy.java b/org.argeo.util/src/org/argeo/util/directory/ldap/LdapEntryWorkingCopy.java
deleted file mode 100644 (file)
index 381c11b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.argeo.util.directory.ldap;
-
-import javax.naming.directory.Attributes;
-import javax.naming.ldap.LdapName;
-
-import org.argeo.util.transaction.AbstractWorkingCopy;
-
-/** Working copy for a user directory being edited. */
-public class LdapEntryWorkingCopy extends AbstractWorkingCopy<LdapEntry, Attributes, LdapName> {
-       @Override
-       protected LdapName getId(LdapEntry entry) {
-               return entry.getDn();
-       }
-
-       @Override
-       protected Attributes cloneAttributes(LdapEntry entry) {
-               return (Attributes) entry.getAttributes().clone();
-       }
-}