[ 
https://issues.apache.org/jira/browse/MSHARED-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylwester Lachiewicz updated MSHARED-930:
-----------------------------------------
    Description: 
ResourceInclusionScanner.getInlcudedSources (the supertype) is declared to 
return Set<File>. However SimpleResourceInclusionScanner.getIncludedSources() 
is declared to return a Set and actually returns Set<String>.

In fact, returns: Collections.<String>emptySet() or 
Collections,singleton(String[])

  was:ResourceInclusionScanner.getInlcudedSources (the supertype) is declared 
to return Set<File>. However 
SimpleResourceInclusionScanner.getIncludedSources() is declared to return a Set 
and actually returns Set<String>.


> SimpleResourceInclusionScanner.getIncludedSources() returns wrong generic type
> ------------------------------------------------------------------------------
>
>                 Key: MSHARED-930
>                 URL: https://issues.apache.org/jira/browse/MSHARED-930
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-shared-io
>            Reporter: Elliotte Rusty Harold
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>             Fix For: maven-shared-io-3.0.1
>
>
> ResourceInclusionScanner.getInlcudedSources (the supertype) is declared to 
> return Set<File>. However SimpleResourceInclusionScanner.getIncludedSources() 
> is declared to return a Set and actually returns Set<String>.
> In fact, returns: Collections.<String>emptySet() or 
> Collections,singleton(String[])



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to