added a comment and removed redundant array creation from varargs.

This commit is contained in:
parrt 2015-06-18 13:40:48 -07:00
parent b742bbdaf4
commit e0c6210d22
1 changed files with 13 additions and 13 deletions

View File

@ -4,28 +4,28 @@ import java.util.Arrays;
import java.util.List;
public class TargetConfiguration {
public static List<TargetConfiguration> ALL = Arrays.asList( new TargetConfiguration[] {
new TargetConfiguration("tool/test/",
/** WARNING: this must be kept in sync with the bild.py directories. */
public static List<TargetConfiguration> ALL = Arrays.asList(
new TargetConfiguration("tool/test/",
"tool/test/org/antlr/v4/test/runtime/java/Java.test.stg"),
new TargetConfiguration("../antlr4-csharp/tool/test/",
new TargetConfiguration("../antlr4-csharp/tool/test/",
"../antlr4-csharp/tool/test/org/antlr/v4/test/runtime/csharp/CSharp.test.stg"),
new TargetConfiguration("../antlr4-python2/tool/test/",
new TargetConfiguration("../antlr4-python2/tool/test/",
"../antlr4-python2/tool/test/org/antlr/v4/test/runtime/python2/Python2.test.stg"),
new TargetConfiguration("../antlr4-python3/tool/test/",
new TargetConfiguration("../antlr4-python3/tool/test/",
"../antlr4-python3/tool/test/org/antlr/v4/test/runtime/python3/Python3.test.stg"),
new TargetConfiguration("../antlr4-javascript/tool/test/",
new TargetConfiguration("../antlr4-javascript/tool/test/",
"../antlr4-javascript/tool/test/org/antlr/v4/test/runtime/javascript/node/Node.test.stg"),
new TargetConfiguration("../antlr4-javascript/tool/test/",
new TargetConfiguration("../antlr4-javascript/tool/test/",
"../antlr4-javascript/tool/test/org/antlr/v4/test/runtime/javascript/chrome/Chrome.test.stg"),
new TargetConfiguration("../antlr4-javascript/tool/test/",
new TargetConfiguration("../antlr4-javascript/tool/test/",
"../antlr4-javascript/tool/test/org/antlr/v4/test/runtime/javascript/safari/Safari.test.stg"),
new TargetConfiguration("../antlr4-javascript/tool/test/",
new TargetConfiguration("../antlr4-javascript/tool/test/",
"../antlr4-javascript/tool/test/org/antlr/v4/test/runtime/javascript/firefox/Firefox.test.stg"),
new TargetConfiguration("../antlr4-javascript/tool/test/",
new TargetConfiguration("../antlr4-javascript/tool/test/",
"../antlr4-javascript/tool/test/org/antlr/v4/test/runtime/javascript/explorer/Explorer.test.stg")
});
);
String outDir;
String templates;