allow comments in exclusion files

This commit is contained in:
Martin Mohr 2015-06-25 08:59:21 +02:00
parent 53852ef2a3
commit 620dd15d00
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ public class FileOfClasses extends SetOfClasses implements Serializable {
StringBuffer regex = null;
String line;
while ((line = is.readLine()) != null) {
/** BEGIN Custom Change: allow comment lines in exclusion files */
if (line.startsWith("#")) continue;
/** END Custom Change: allow comment lines in exclusion files */
if (regex == null) {
regex = new StringBuffer("(" + line + ")");
} else {