Skip to content

Commit

Permalink
Spaces for no absolute reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqzn committed Oct 8, 2024
1 parent ade1a91 commit 887f91f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ private void injectDependencies() {
if (!field.isAnnotationPresent(Dependency.class)) {
continue;
}

if (Modifier.isFinal(field.getModifiers())) {
throw new IllegalArgumentException("Field '" + field.getName() + "' cannot be declared final while being annotated with `@Dependency`");
}
Expand Down

0 comments on commit 887f91f

Please sign in to comment.