--- old/src/share/classes/javax/swing/text/html/HTMLEditorKit.java 2014-06-10 11:51:38.000000000 -0700
+++ new/src/share/classes/javax/swing/text/html/HTMLEditorKit.java 2014-06-10 11:51:38.000000000 -0700
@@ -590,7 +590,7 @@
protected Parser getParser() {
if (defaultParser == null) {
try {
- Class c = Class.forName("javax.swing.text.html.parser.ParserDelegator");
+ Class> c = Class.forName("javax.swing.text.html.parser.ParserDelegator");
defaultParser = (Parser) c.newInstance();
} catch (Throwable e) {
}
@@ -1874,7 +1874,7 @@
* Returns the object in an AttributeSet matching a key
*/
static private Object getAttrValue(AttributeSet attr, HTML.Attribute key) {
- Enumeration names = attr.getAttributeNames();
+ Enumeration> names = attr.getAttributeNames();
while (names.hasMoreElements()) {
Object nextKey = names.nextElement();
Object nextVal = attr.getAttribute(nextKey);