Ignore the modifications of test java files.

This commit is contained in:
Kui LIU
2017-08-11 23:54:31 +02:00
parent 1587adf88b
commit abd1b1e725
@@ -76,6 +76,9 @@ public class ParseFixPatternWorker extends UntypedActor {
File prevFile = msgFile.getPrevFile();
File diffentryFile = msgFile.getDiffEntryFile();
File positionFile = msgFile.getPositionFile();
if (revFile.getName().toLowerCase().contains("test")) {
continue;
}
Parser parser = null;
if (containsAlarmTypes || positionFile != null) {
parser = new FixedViolationHunkParser(positionFile);