Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3590

missing "use diamond inference" hint for static variable initialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.2
    • None
    • java - Hints
    • None

    Description

      For: static List<String> m = new ArrayList<String>();
      there is no "use diamond inference" hint. Remove the word static and the hint appears.

      Attachments

        Activity

          People

            Unassigned Unassigned
            errael Ernie Rael
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: