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

Proposed new hint "Convert Lambda to Use 'var' Parameter Types" for Lambda expression

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Hint "Convert Lambda to Use 'var' Parameter Types" should be enable for below expressions. 

      IntBinaryOperator cal c=  (int x, int y) -> x + y;

       IntBinaryOperator cal c=  (x, y) -> x + y;

      Proposed fix : 

      IntBinaryOperator calc = (var x, var y) -> x + y;

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vikas.prabhakar vikas kumar prabhakar
            arunava.sinha ARUNAVA SINHA
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 5h
                5h

                Slack

                  Issue deployment