forked from jasder/antlr
v4: Class<?> instead of Class
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9361]
This commit is contained in:
parent
5e567eacc9
commit
d01c583e36
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue