@@ -161,11 +161,11 @@ public void testCompilerIncludesExcludes()
161
161
CompilerMojo compileMojo =
162
162
getCompilerMojo ( "target/test-classes/unit/compiler-includes-excludes-test/plugin-config.xml" );
163
163
164
- Set <String > includes = new HashSet <String >();
164
+ Set <String > includes = new HashSet <>();
165
165
includes .add ( "**/TestCompile4*.java" );
166
166
setVariableValueToObject ( compileMojo , "includes" , includes );
167
167
168
- Set <String > excludes = new HashSet <String >();
168
+ Set <String > excludes = new HashSet <>();
169
169
excludes .add ( "**/TestCompile2*.java" );
170
170
excludes .add ( "**/TestCompile3*.java" );
171
171
setVariableValueToObject ( compileMojo , "excludes" , excludes );
@@ -275,11 +275,11 @@ public void testOneOutputFileForAllInput2()
275
275
276
276
setVariableValueToObject ( compileMojo , "compilerManager" , new CompilerManagerStub () );
277
277
278
- Set <String > includes = new HashSet <String >();
278
+ Set <String > includes = new HashSet <>();
279
279
includes .add ( "**/TestCompile4*.java" );
280
280
setVariableValueToObject ( compileMojo , "includes" , includes );
281
281
282
- Set <String > excludes = new HashSet <String >();
282
+ Set <String > excludes = new HashSet <>();
283
283
excludes .add ( "**/TestCompile2*.java" );
284
284
excludes .add ( "**/TestCompile3*.java" );
285
285
setVariableValueToObject ( compileMojo , "excludes" , excludes );
@@ -414,7 +414,7 @@ private TestCompilerMojo getTestCompilerMojo( CompilerMojo compilerMojo, String
414
414
File testClassesDir = new File ( buildDir , "test-classes" );
415
415
setVariableValueToObject ( mojo , "outputDirectory" , testClassesDir );
416
416
417
- List <String > testClasspathList = new ArrayList <String >();
417
+ List <String > testClasspathList = new ArrayList <>();
418
418
419
419
Artifact junitArtifact = mock ( Artifact .class );
420
420
ArtifactHandler handler = mock ( ArtifactHandler .class );
0 commit comments