Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1188

StringUtils#join(T...): warning: [unchecked] Possible heap pollution from parameterized vararg type T

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.6
    • lang.*
    • None
    • javac 1.8.0_25

    Description

      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)

      Attachments

        Activity

          People

            pascalschumacher Pascal Schumacher
            simonkramer Simon KRAMER
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified