Code hygiene. Not as pedantic as I'd like, but I couldn't resist the huge time
saver that is Eclipse's "Infer generic types" which leaves HashMap and ArrayList as the declared type where I would normally prefer to change those to Map and List and use Maps and Lists to instantiate them. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@593 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -71,7 +71,7 @@ public class CompiledConfigTask extends Task
|
||||
// instantiate and sanity check the parser class
|
||||
Object pobj = null;
|
||||
try {
|
||||
Class pclass = Class.forName(_parser);
|
||||
Class<?> pclass = Class.forName(_parser);
|
||||
pobj = pclass.newInstance();
|
||||
} catch (Exception e) {
|
||||
throw new BuildException("Error instantiating config parser", e);
|
||||
|
||||
Reference in New Issue
Block a user