Skip to content

Commit

Permalink
Allow Animal Sniffer to be enabled (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riliane authored Jul 29, 2022
1 parent 3099310 commit 0ce5224
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ private void setCompilerProperties() throws MojoExecutionException {
setProperty("maven.compiler.release", Integer.toString(javaVersion.toReleaseVersion()));
setProperty("maven.compiler.testRelease", Integer.toString(javaVersion.toReleaseVersion()));

// "release" serves the same purpose as Animal Sniffer.
setProperty("animal.sniffer.skip", "true");

/*
* While it does not hurt to have these set to the Java specification version, it is also not needed when
* "release" is in use.
Expand Down

0 comments on commit 0ce5224

Please sign in to comment.