GeezerVison is showing github.com — Issue #18599: Disable InlineMeSuggester as Error Prone annotations ar… · checkstyle/checkstyle@a6594e0
File tree
Expand file treeCollapse file tree
Open diff view settings
src/main/java/com/puppycrawl/tools/checkstyle
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: config/checkstyle-checks.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
299 | 299 | <module name="MissingOverrideOnRecordAccessor"/> |
300 | 300 | <module name="PackageAnnotation"/> |
301 | 301 | <module name="SuppressWarnings"> |
302 | | - <property name="format" value="^((?!unchecked|deprecation|rawtypes|resource|InvalidInlineTag|UnrecognisedJavadocTag).)*$"/> |
| 302 | + <property name="format" value="^((?!unchecked|deprecation|rawtypes|resource|InvalidInlineTag|UnrecognisedJavadocTag|InlineMeSuggester).)*$"/> |
303 | 303 | <message key="suppressed.warning.not.allowed" |
304 | 304 | value="The warning ''{0}'' cannot be suppressed at this location. |
305 | 305 | Only few javac warnings are allowed to suppress. |
|
Collapse file
Copy file name to clipboardExpand all lines: config/intellij-idea-inspections.xml +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
4490 | 4490 | <option value="InvalidInlineTag"/> |
4491 | 4491 | <!-- suppression for unrecognised javadoc tag --> |
4492 | 4492 | <option value="UnrecognisedJavadocTag"/> |
| 4493 | + <!-- suppression for inline me suggester --> |
| 4494 | + <option value="InlineMeSuggester"/> |
4493 | 4495 | <!-- false positives --> |
4494 | 4496 | <option value="JUnitTestCaseWithNoTests"/> |
4495 | 4497 | <!-- false positives --> |
|
Collapse file
Copy file name to clipboardExpand all lines: pom.xml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
256 | 256 | -Xep:FormatStringShouldUsePlaceholders:ERROR |
257 | 257 | -Xep:IdentityConversion:ERROR |
258 | 258 | -Xep:ImmutablesSortedSetComparator:ERROR |
| 259 | + -Xep:InlineMeSuggester:ERROR |
259 | 260 | -Xep:InconsistentCapitalization:ERROR |
260 | 261 | <!-- Reason at https://github.com/checkstyle/checkstyle/issues/17988. --> |
261 | 262 | -Xep:InlineFormatString:OFF |
|
Collapse file
Copy file name to clipboardExpand all lines: src/main/java/com/puppycrawl/tools/checkstyle/DefaultConfiguration.java +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -141,6 +141,7 @@ public void removeChild(final Configuration configuration) { |
141 | 141 | * {@code addProperty(String propertyName, String value)} instead. |
142 | 142 | */ |
143 | 143 | @Deprecated(since = "8.45") |
| 144 | + @SuppressWarnings("InlineMeSuggester") |
144 | 145 | public void addAttribute(String attributeName, String value) { |
145 | 146 | addProperty(attributeName, value); |
146 | 147 | } |
|