Skip to content

Commit

Permalink
Issue #13934: Version Update from 3.2 to 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohanraj123 authored and rnveach committed Nov 13, 2023
1 parent 9c3ad23 commit b5d2509
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/main/java/com/puppycrawl/tools/checkstyle/site/SiteUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ public final class SiteUtil {
private static final Map<String, String> SINCE_VERSION_FOR_INHERITED_PROPERTY = Map.ofEntries(
Map.entry("MissingDeprecatedCheck.violateExecutionOnNonTightHtml", "8.24"),
Map.entry("NonEmptyAtclauseDescriptionCheck.violateExecutionOnNonTightHtml", "8.3"),
Map.entry("NonEmptyAtclauseDescriptionCheck.javadocTokens", "7.3")
Map.entry("NonEmptyAtclauseDescriptionCheck.javadocTokens", "7.3"),
Map.entry("FileTabCharacterCheck.fileExtensions", "5.0"),
Map.entry("ParenPadCheck.option", "3.0"),
Map.entry("TypecastParenPadCheck.option", "3.2")
);

/** Map of all superclasses properties and their javadocs. */
Expand Down Expand Up @@ -699,9 +702,8 @@ public static String getSinceVersion(String moduleName, DetailNode moduleJavadoc
if (superClassSinceVersion != null) {
sinceVersion = superClassSinceVersion;
}
else if (SUPER_CLASS_PROPERTIES_JAVADOCS.containsKey(propertyName)
|| TOKENS.equals(propertyName)
|| JAVADOC_TOKENS.equals(propertyName)) {
else if (TOKENS.equals(propertyName)
|| JAVADOC_TOKENS.equals(propertyName)) {
// Use module's since version for inherited properties
sinceVersion = getSinceVersionFromJavadoc(moduleJavadoc);
}
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/checks/coding/returncount.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<td>Specify method names to ignore.</td>
<td><a href="../../property_types.html#Pattern">Pattern</a></td>
<td><code>&quot;^equals$&quot;</code></td>
<td>3.2</td>
<td>3.4</td>
</tr>
<tr>
<td>max</td>
Expand Down

0 comments on commit b5d2509

Please sign in to comment.