Skip to content

Commit

Permalink
Update usage class with new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhock committed Jun 7, 2024
1 parent 339f1a6 commit 3f08ed7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/enofex/taikai/Usage.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public static void main(String[] args) {
.classesShouldNotBeAnnotatedWithDisabled()
.methodsShouldNotBeAnnotatedWithDisabled()))
.java(java -> java
.noUsageOfDeprecatedAPIs()
.methodsShouldNotThrowGenericException()
.utilityClassesShouldBeFinalAndHavePrivateConstructor()
.imports(imports -> imports
.shouldHaveNoCycles()
.shouldNotImport("..shaded..")
Expand Down

0 comments on commit 3f08ed7

Please sign in to comment.