summaryrefslogtreecommitdiff
path: root/javax/swing/text/html/parser/AttributeList.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/text/html/parser/AttributeList.java')
-rw-r--r--javax/swing/text/html/parser/AttributeList.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/javax/swing/text/html/parser/AttributeList.java b/javax/swing/text/html/parser/AttributeList.java
index faf3ae8b1..70934c0a0 100644
--- a/javax/swing/text/html/parser/AttributeList.java
+++ b/javax/swing/text/html/parser/AttributeList.java
@@ -43,6 +43,7 @@ import gnu.javax.swing.text.html.parser.support.gnuStringIntMapper;
import java.io.Serializable;
import java.util.Vector;
+import java.util.Enumeration;
/**
* <p>
@@ -250,9 +251,9 @@ public class AttributeList
/**
* Get the allowed values of this attribute.
*/
- public Vector getValues()
+ public Enumeration getValues()
{
- return values;
+ return values.elements();
}
/**