Skip to content

Commit a129c7c

Browse files
committed
[MSHARED-930] Update generics
1 parent 102e396 commit a129c7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/apache/maven/shared/io/scan/SimpleResourceInclusionScanner.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
public class SimpleResourceInclusionScanner
3535
extends AbstractResourceInclusionScanner
3636
{
37-
private Set<String> sourceIncludes;
37+
private final Set<String> sourceIncludes;
3838

39-
private Set<String> sourceExcludes;
39+
private final Set<String> sourceExcludes;
4040

4141
/**
4242
* @param sourceIncludes The source includes.
@@ -50,14 +50,14 @@ public SimpleResourceInclusionScanner( Set<String> sourceIncludes, Set<String> s
5050
}
5151

5252
/** {@inheritDoc} */
53-
public Set getIncludedSources( File sourceDir, File targetDir )
53+
public Set<File> getIncludedSources( File sourceDir, File targetDir )
5454
throws InclusionScanException
5555
{
5656
List<SourceMapping> srcMappings = getSourceMappings();
5757

5858
if ( srcMappings.isEmpty() )
5959
{
60-
return Collections.<File>emptySet();
60+
return Collections.emptySet();
6161
}
6262

6363
Set<File> matchingSources = new HashSet<>();

0 commit comments

Comments
 (0)