Skip to content

Commit

Permalink
Mark FormatMojo as threadSafe because it is thread-safe (#216)
Browse files Browse the repository at this point in the history
This will help avoid warning messages like one reported in #215
  • Loading branch information
ksumit authored May 14, 2023
1 parent 9f463a9 commit 9f83818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/antipathy/mvn_scalafmt/FormatMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Get the location of the config file and pass to Formatter
*/
@Mojo(name = "format", defaultPhase = LifecyclePhase.VALIDATE)
@Mojo(name = "format", defaultPhase = LifecyclePhase.VALIDATE, threadSafe = true)
public class FormatMojo extends AbstractMojo {

@Parameter(property = "format.configLocation")
Expand Down

0 comments on commit 9f83818

Please sign in to comment.