UCL-CREST / Siamese

Siamese: a scalable code clone search engine
GNU General Public License v3.0
35 stars 22 forks source link

Generate required ANTLR4 sources only at build time and did minor refactoring on JUnit test imports #12

Closed tsuiwwwayne closed 5 years ago

tsuiwwwayne commented 5 years ago

Summary:

  1. Generate required ANTLR4 sources only at build time. These generated files should not be part of the repository.
  2. Minor refactoring on JUnit test imports.

Note:

  1. The access modifier of __SYMBOLIC_NAMES in JavaLexer.java file was changed from private to public. As ANTLR4 generates the default JavaLexer.java, I have refactored JavaTokenizer.java and JavaLexerTest.java to use the JavaLexer's Vocabulary attribute to access the symbolic names.