Fix the problem that when multiple packages are configured in packageFilters, the following packages do not take effect.

This commit is contained in:
shalousun 2021-11-02 23:37:05 +08:00
parent 627bd476a3
commit ca1048c869
3 changed files with 3 additions and 4 deletions

View File

@ -66,7 +66,7 @@
<dependency> <dependency>
<groupId>com.github.shalousun</groupId> <groupId>com.github.shalousun</groupId>
<artifactId>common-util</artifactId> <artifactId>common-util</artifactId>
<version>2.0.8</version> <version>2.0.9</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>com.google.code.gson</groupId>

View File

@ -232,8 +232,8 @@ public class DocUtil {
if (pattern.matcher(controllerName).matches()) { if (pattern.matcher(controllerName).matches()) {
return true; return true;
} }
} else { } else if (controllerName.startsWith(str)) {
return controllerName.startsWith(str); return true;
} }
} }
return false; return false;

View File

@ -2,5 +2,4 @@ DELIMITER_STATEMENT_START=<%
DELIMITER_STATEMENT_END=%> DELIMITER_STATEMENT_END=%>
FN.htmlEscape = com.power.doc.function.HtmlEscape FN.htmlEscape = com.power.doc.function.HtmlEscape
FN.removeLineBreaks = com.power.doc.function.RemoveLineBreaks FN.removeLineBreaks = com.power.doc.function.RemoveLineBreaks
##??????
FNP.strUtil = org.beetl.ext.fn.StringUtil FNP.strUtil = org.beetl.ext.fn.StringUtil