Repository: mina-sshd Updated Branches: refs/heads/master cb170ec48 -> 8da2bd727
Allow only lowercase and digits in package name Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/8da2bd72 Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/8da2bd72 Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/8da2bd72 Branch: refs/heads/master Commit: 8da2bd727aa4f3f999ce797a5903a79e13e17cea Parents: cb170ec Author: Lyor Goldstein <[email protected]> Authored: Sun Oct 14 09:11:33 2018 +0300 Committer: Lyor Goldstein <[email protected]> Committed: Sun Oct 14 09:11:33 2018 +0300 ---------------------------------------------------------------------- sshd-checkstyle.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/8da2bd72/sshd-checkstyle.xml ---------------------------------------------------------------------- diff --git a/sshd-checkstyle.xml b/sshd-checkstyle.xml index 3d90a2d..61c90b8 100644 --- a/sshd-checkstyle.xml +++ b/sshd-checkstyle.xml @@ -58,7 +58,10 @@ <property name="format" value="^[a-z][a-zA-Z0-9_]*$" /> </module> <module name="MethodName" /> - <module name="PackageName" /> + <!-- Allow only lowercase and digits in package name --> + <module name="PackageName"> + <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/> + </module> <module name="ParameterName"> <property name="format" value="^[a-z][a-zA-Z0-9_]*$" /> </module>
