in apache-rat-core/src/main/java/org/apache/rat/analysis/license/SimplePatternBasedLicense.java [50:62]
protected boolean matches(String pLine) {
if (pLine != null) {
final String[] pttrns = getPatterns();
if (pttrns != null) {
for (String pttrn : pttrns) {
if (pLine.contains(pttrn)) {
return true;
}
}
}
}
return false;
}