Deprecated setKey and setValue methods in LdapRdnComponent

This commit is contained in:
Mattias Arthursson
2008-11-17 14:08:48 +00:00
parent 8abe6d59e5
commit 0819e34ab6

View File

@@ -84,6 +84,8 @@ public class LdapRdnComponent implements Comparable, Serializable {
* Set the key (Attribute name) of this component.
*
* @param key the key.
* @deprecated Using this method changes the internal state of surrounding
* DistinguishedName instance. This should be avoided.
*/
public void setKey(String key) {
this.key = key;
@@ -102,6 +104,8 @@ public class LdapRdnComponent implements Comparable, Serializable {
* Set the (Attribute) value of this component.
*
* @param value the value.
* @deprecated Using this method changes the internal state of surrounding
* DistinguishedName instance. This should be avoided.
*/
public void setValue(String value) {
this.value = value;