Skip to content

Commit

Permalink
Ignore final fields with @javax.inject.Inject.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed May 6, 2022
1 parent 83e3780 commit 17cb64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/pmd-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</rule>
<rule ref="category/java/design.xml/ImmutableField">
<properties>
<property name="ignoredAnnotations" value="org.junit.jupiter.api.io.TempDir"/>
<property name="ignoredAnnotations" value="org.junit.jupiter.api.io.TempDir|javax.inject.Inject"/>
</properties>
</rule>

Expand Down

0 comments on commit 17cb64a

Please sign in to comment.