// private Attributes publishedAttributes;
// Temporarily expose the fields
- protected AttributeDictionary properties;
- protected AttributeDictionary credentials;
+ private AttributeDictionary properties;
+ private AttributeDictionary credentials;
protected DefaultLdapEntry(AbstractLdapDirectory directory, LdapName dn) {
Objects.requireNonNull(directory);
@Override
public Object put(String key, Object value) {
+ Objects.requireNonNull(value, "Value for key " + key + " is null");
try {
if (key == null) {
// FIXME remove this "feature", a key should be specified