Skip to content

Commit

Permalink
Bump com.puppycrawl.tools:checkstyle from 10.12.1 to 10.12.2
Browse files Browse the repository at this point in the history
Signed-off-by: Haroon Sheikh <[email protected]>
  • Loading branch information
haroon-sheikh committed Aug 1, 2023
1 parent 3363a7f commit 0199d60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.12.1</version>
<version>10.12.2</version>
</dependency>
</dependencies>
<executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ private Messages.FileDiff implementInExistingClass(ProtocolStringList stubs, Fil
return null;
}

private static class MethodVisitor extends VoidVisitorAdapter {
private static final class MethodVisitor extends VoidVisitorAdapter {
@Override
public void visit(MethodDeclaration methodDeclaration, Object arg) {
methodDeclarations.add(methodDeclaration);
}
}

private static class ClassVisitor extends VoidVisitorAdapter {
private static final class ClassVisitor extends VoidVisitorAdapter {
@Override
public void visit(ClassOrInterfaceDeclaration node, Object arg) {
classRange = node.getRange().get();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/thoughtworks/gauge/tag/TagMatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public boolean isMatch(List<String> tags, Operator operator, List<String> allTag
return new TagMatcherFactory().matcherFor(operator).isMatch(tags, allTags);
}

private class TagMatcherFactory {
private static final class TagMatcherFactory {
public SimpleTagMatcher matcherFor(Operator operator) {
switch (operator) {
case OR:
Expand Down

0 comments on commit 0199d60

Please sign in to comment.