You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2021/04/10 10:33:00 UTC

[jira] [Closed] (MSHARED-930) SimpleResourceInclusionScanner.getIncludedSources() returns wrong generic type

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

Sylwester Lachiewicz closed MSHARED-930.
----------------------------------------
    Resolution: Fixed

> 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)