Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhock committed Jun 13, 2024
1 parent 975f286 commit 1a9823f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/enofex/taikai/java/JavaConfigurer.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public JavaConfigurer fieldsShouldNotBePublic(Configuration configuration) {
return addRule(TaikaiRule.of(fields().should(notBePublic()), configuration));
}

public JavaConfigurer noUsageOf(Class clazz) {
public JavaConfigurer noUsageOf(Class<?> clazz) {
return noUsageOf(clazz, null);
}

Expand All @@ -91,7 +91,7 @@ public JavaConfigurer noUsageOf(String typeName, Configuration configuration) {
.should().dependOnClassesThat().areAssignableTo(typeName), configuration));
}

public JavaConfigurer noUsageOf(Class clazz, Configuration configuration) {
public JavaConfigurer noUsageOf(Class<?> clazz, Configuration configuration) {
return addRule(TaikaiRule.of(noClasses().should().dependOnClassesThat().areAssignableTo(clazz),
configuration));
}
Expand Down

0 comments on commit 1a9823f

Please sign in to comment.