Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: Rules
    • Labels:

      Description

      In the following code, we could use diamond operator when calling bar(...).

      abstract class A {
        public void foo() {
          List<String> values = Arrays.asList("Stop", "pointing", "fingers", "steve");
          bar(new ArrayList<String>(values)); // Diamond operator could be used here
        }
      
        abstract void bar(List<String> strings);
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.gumowski Michael Gumowski
                Reporter:
                michael.gumowski Michael Gumowski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: