Skip to content

Commit

Permalink
Disable error prone rule YodaCondition.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 11, 2024
1 parent 8a2fb72 commit 8785800
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@

<pmd.skip>false</pmd.skip>

<codingstyle.config.version>4.10.0</codingstyle.config.version>
<codingstyle.library.version>4.10.0</codingstyle.library.version>
<codingstyle.config.version>4.12.0</codingstyle.config.version>
<codingstyle.library.version>4.12.0</codingstyle.library.version>

<!-- Project Dependencies Configuration -->
<spotbugs.version>4.8.6</spotbugs.version>
Expand Down Expand Up @@ -240,17 +240,7 @@
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -605,6 +595,8 @@
NullAway configuration:
--> -XepOpt:NullAway:AnnotatedPackages=edu.hm.hafner <!--
Disabled ErrorProne rule:
--> -Xep:YodaCondition:OFF <!--
Disabled ErrorProne rule:
--> -Xep:ReturnMissingNullable:OFF <!--
Disabled ErrorProne rule:
--> -Xep:CannotMockFinalMethod:OFF <!--
Expand Down

0 comments on commit 8785800

Please sign in to comment.