Skip to content

Commit

Permalink
Merge pull request #199 from ilnarkhasanov/redundant-continue
Browse files Browse the repository at this point in the history
Redundant continue
  • Loading branch information
yegor256 committed Mar 28, 2024
2 parents 66cc369 + a71b273 commit 2b00060
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion metrics/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def nom(tlist: list[tuple[Any, javalang.tree.ClassDeclaration]]) -> int:
annotations = list(annotation.name for annotation in node.annotations)
if 'Override' in annotations:
total += 1
continue
return total


Expand Down

0 comments on commit 2b00060

Please sign in to comment.