mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 03:15:33 +02:00
Use Class.forName().
This commit is contained in:
parent
36d2f67998
commit
ec79111551
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ public class ErrorParserManager extends OutputStream {
|
|||
while (tok.hasMoreElements()) {
|
||||
String clName = tok.nextToken();
|
||||
try {
|
||||
IErrorParser parser = (IErrorParser) getClass().forName(clName).newInstance();
|
||||
IErrorParser parser = (IErrorParser) Class.forName(clName).newInstance();
|
||||
fErrorParsers.add(parser);
|
||||
}
|
||||
catch (ClassNotFoundException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue