Skip to content

Commit

Permalink
minor: remove unnecessary usage of final modifier in parameters(#8808)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrmancuso authored and romani committed Sep 25, 2020
1 parent 88ce526 commit 9d7a392
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public void visitToken(DetailAST ast) {
* @param ast a given node.
* @return whether we should check a given node.
*/
private boolean shouldCheck(final DetailAST ast) {
private boolean shouldCheck(DetailAST ast) {
final Scope customScope;

if (ScopeUtil.isInInterfaceOrAnnotationBlock(ast)) {
Expand Down Expand Up @@ -467,8 +467,8 @@ private void checkTag(DetailAST ast, List<JavadocTag> tags, String tagName,
* @param tags tags from the Javadoc comment for the type definition.
* @param typeParamName the name of the type parameter
*/
private void checkTypeParamTag(final DetailAST ast,
final List<JavadocTag> tags, final String typeParamName) {
private void checkTypeParamTag(DetailAST ast,
List<JavadocTag> tags, String typeParamName) {
boolean found = false;
for (int i = tags.size() - 1; i >= 0; i--) {
final JavadocTag tag = tags.get(i);
Expand All @@ -492,8 +492,8 @@ private void checkTypeParamTag(final DetailAST ast,
* @param typeParamNames names of type parameters
*/
private void checkUnusedTypeParamTags(
final List<JavadocTag> tags,
final List<String> typeParamNames) {
List<JavadocTag> tags,
List<String> typeParamNames) {
for (int i = tags.size() - 1; i >= 0; i--) {
final JavadocTag tag = tags.get(i);
if (tag.isParamTag()) {
Expand Down

0 comments on commit 9d7a392

Please sign in to comment.