Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
### What's done:
* Review
  • Loading branch information
kgevorkyan committed Jan 31, 2022
1 parent 46f5194 commit 5962f07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AbstractClassesRule(configRules: List<RulesConfig>) : DiktatRule(

// If an abstract class extends another class, than that base class can be abstract too.
// Then this class must have `abstract` modifier even if it doesn't have any abstract members.
// Class also must have `abstract` modifier if it implements interface
// Class also can have `abstract` modifier if it implements interface
if (node.hasAbstractModifier() && node.isNotSubclass()) {
handleAbstractClass(classBody, node)
}
Expand Down

0 comments on commit 5962f07

Please sign in to comment.