File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
music-maven-plugin/src/main/java/software/xdev/maven/music Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1818import java .util .ArrayList ;
1919import java .util .Collections ;
2020import java .util .List ;
21+ import java .util .concurrent .ExecutorService ;
22+ import java .util .concurrent .Executors ;
2123import java .util .concurrent .atomic .AtomicInteger ;
2224
2325import org .apache .maven .plugin .AbstractMojo ;
@@ -85,7 +87,7 @@ public class MusicMojo extends AbstractMojo
8587 @ Parameter
8688 protected float defaultVolumeDB = -20.0f ;
8789
88- @ SuppressWarnings ("java:S2142" )
90+ @ SuppressWarnings ({ "java:S2142" , "PMD.AvoidUnmanagedThreads" } )
8991 @ Override
9092 public void execute () throws MojoExecutionException , MojoFailureException
9193 {
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ public void stop()
110110 // Can't be stopped
111111 }
112112
113+ @ SuppressWarnings ("PMD.AvoidStringBuilderOrBuffer" )
113114 static String consumeStream (final InputStream stream )
114115 {
115116 final StringBuilder sb = new StringBuilder ();
You can’t perform that action at this time.
0 commit comments