Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-445

Remove collocation 'if any' relating to upper bounds of wildcards and type variables

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Minor
    • None
    • None
    • None
    • None

    Description

      These collocations are redundant: if there is no explicitly declared upper bound, the upper bound is Object.

      From javadoc for TypeVariable#getBounds and WildcardType#getUpperBounds: "Note that if no upper bound is explicitly declared, the upper bound is Object."

      Attachments

        Activity

          People

            Unassigned Unassigned
            bafco Matus Abaffy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: