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

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

    [ https://issues.apache.org/jira/browse/MSHARED-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318451#comment-17318451 ] 

Hudson commented on MSHARED-930:
--------------------------------

Build succeeded in Jenkins: Maven » Maven TLP » maven-shared-io » MSHARED-930 #2

See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-shared-io/job/MSHARED-930/2/

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