| | |
| | | |
| | | import static org.opends.server.loggers.Debug.debugConstructor; |
| | | import static org.opends.server.loggers.Debug.debugEnter; |
| | | import static org.opends.server.util.Validator.*; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Collections; |
| | |
| | | * Creates a new entry with the provided information. |
| | | * |
| | | * @param dn |
| | | * The distinguished name for this entry. |
| | | * The distinguished name for this entry. It must not be |
| | | * <CODE>null</CODE>. |
| | | * @param attributes |
| | | * The entry attributes for this operation. |
| | | * The entry attributes for this operation. It must not be |
| | | * <CODE>null</CODE>. |
| | | */ |
| | | public AddChangeRecordEntry(DN dn, |
| | | Map<AttributeType,List<Attribute>> attributes) |
| | |
| | | assert debugConstructor(CLASS_NAME, String.valueOf(dn), |
| | | String.valueOf(attributes)); |
| | | |
| | | ensureNotNull(attributes); |
| | | |
| | | |
| | | this.attributes = new ArrayList<Attribute>(attributes.size()); |
| | | for (List<Attribute> list : attributes.values()) |