v4: Class<?> instead of Class

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9361]
This commit is contained in:
sharwell 2011-11-17 18:30:27 -08:00
parent 5e567eacc9
commit d01c583e36
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class PostScriptDocument {
this.fontName = fontName;
this.fontSize = fontSize;
try {
Class c = Class.forName("org.antlr.v4.runtime.tree.gui." + fontName);
Class<?> c = Class.forName("org.antlr.v4.runtime.tree.gui." + fontName);
this.fontMetrics = (BasicFontMetrics)c.newInstance();
}
catch (Exception e) {