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

cleanup use of generics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 11.3
    • None

    Description

      I'm trying to clean up the use of generics when there is a private method or variable.

      For example, we see a lot of the follow code in the source tree:

      private Map/*<Connection, Driver>*/ conn2Driver = new WeakHashMap();

      Change this to

      private Map<Connection, Driver> conn2Driver = new WeakHashMap<>();

      Java really wants us to use Generics and this looks like it was a work in progress. So I'm simply trying to complete it.

       

       

      Attachments

        Issue Links

          Activity

            People

              brad.walker Brad Walker
              brad.walker Brad Walker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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