Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
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;