diff options
Diffstat (limited to 'javax/naming/directory/BasicAttribute.java')
-rw-r--r-- | javax/naming/directory/BasicAttribute.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javax/naming/directory/BasicAttribute.java b/javax/naming/directory/BasicAttribute.java index 047036585..67803e2ad 100644 --- a/javax/naming/directory/BasicAttribute.java +++ b/javax/naming/directory/BasicAttribute.java @@ -58,7 +58,7 @@ public class BasicAttribute implements Attribute /** True if this attribute's values are ordered. */ protected boolean ordered; /** Values for this attribute. */ - protected transient Vector values; + protected transient Vector<Object> values; // Used by cloning. private BasicAttribute () @@ -178,7 +178,7 @@ public class BasicAttribute implements Attribute return values.get (index); } - public NamingEnumeration getAll () + public NamingEnumeration<Attribute> getAll () throws NamingException { return new BasicAttributeEnumeration (); |