Skip to content

Commit

Permalink
Pull checkstyle#10827: changes InlineConfigParser to respect fully qu…
Browse files Browse the repository at this point in the history
…alified name
  • Loading branch information
rnveach authored and pbludov committed Oct 2, 2021
1 parent 9c1297e commit 9fcd1e0
Show file tree
Hide file tree
Showing 70 changed files with 72 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ private static String getFullyQualifiedClassName(String filePath, String moduleN
final int beginIndex = path.indexOf("com.puppycrawl");
final int endIndex = path.lastIndexOf(moduleName.toLowerCase(Locale.ROOT));
fullyQualifiedClassName = path.substring(beginIndex, endIndex) + moduleName;
}
if (!fullyQualifiedClassName.endsWith("Filter")) {
fullyQualifiedClassName += "Check";
if (!fullyQualifiedClassName.endsWith("Filter")) {
fullyQualifiedClassName += "Check";
}
}
return fullyQualifiedClassName;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrder
com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrderCheck
violateExecutionOnNonTightHtml = (default)false
target = (default)CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, \
CTOR_DEF, VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF
tagOrder = (default)@author, @deprecated, @exception, @param, @return, \
@see, @serial, @serialData, @serialField, @since, @throws, @version
com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraph
com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck
violateExecutionOnNonTightHtml = (default)false
allowNewlineParagraph = (default)true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
fileNamePattern = FileFilter\\.java
com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariable
com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck
validateEnhancedForLoopVariable = (default)false
tokens = (default)VARIABLE_DEF
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSingleline
com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
format = TODO$
message = (default)(null)
ignoreCase = (default)false
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
com.puppycrawl.tools.checkstyle.checks.naming.MemberName
com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
format = (default)^[a-z][a-zA-Z0-9]*$
applyToPublic = (default)true
applyToProtected = (default)true
Expand Down
Loading

0 comments on commit 9fcd1e0

Please sign in to comment.