commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-1188) StringUtils#join(T...): warning: [unchecked] Possible heap pollution from parameterized vararg type T
Date Sun, 23 Oct 2016 19:59:59 GMT

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

Pascal Schumacher resolved LANG-1188.
-------------------------------------
       Resolution: Fixed
         Assignee: Pascal Schumacher
    Fix Version/s: 3.6

> StringUtils#join(T...): warning: [unchecked] Possible heap pollution from parameterized
vararg type T
> -----------------------------------------------------------------------------------------------------
>
>                 Key: LANG-1188
>                 URL: https://issues.apache.org/jira/browse/LANG-1188
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.4
>         Environment: javac 1.8.0_25
>            Reporter: Simon KRAMER
>            Assignee: Pascal Schumacher
>            Priority: Minor
>             Fix For: 3.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> commons-lang3-3.4-src/src/main/java/org/apache/commons/lang3/StringUtils.java:3302: warning:
[unchecked] Possible heap pollution from parameterized vararg type T
>     public static <T> String join(final T... elements) {
>                                              ^
> usage: String.join(" ", stringarray)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message