allow comments in exclusion files
This commit is contained in:
parent
53852ef2a3
commit
620dd15d00
|
@ -43,6 +43,9 @@ public class FileOfClasses extends SetOfClasses implements Serializable {
|
||||||
StringBuffer regex = null;
|
StringBuffer regex = null;
|
||||||
String line;
|
String line;
|
||||||
while ((line = is.readLine()) != null) {
|
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) {
|
if (regex == null) {
|
||||||
regex = new StringBuffer("(" + line + ")");
|
regex = new StringBuffer("(" + line + ")");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue