Hello, I am graduate researcher at Oregon State University, currently studying lambda expressions in java open source project. Using a generic Functional interface when a specialized primitive functional interface can be used, is one the lambda smells I am focussing on. for instance Function<Integer, Integer> could be IntUnaryOperator.
https://github.com/apache/cassandra/pull/116 <https://github.com/apache/cassandra/pull/116> Is an instance of refactoring, of such lambda smell. I would love to contribute to this project, by refactoring such lambda smells. I am developing a tool to detect such opportunities. But all the refactoring done are manual and all instances are checked and verified by me manually, before creating a pull request. Regards, Ameya Ketkar Graduate Research Assistant Oregon State University