GitHub user Harshrajsinh opened a pull request:

    https://github.com/apache/cassandra/pull/116

    Refactored Function<T,Integer> to ToIntFunction<T>

    Hello,
    
    I am a graduate student at Oregon State University and as a part of my 
research and subject CS562 Applied Software Engineering project (Study and 
Refactoring of Functional Interface in Java), I have done refactoring of the 
Function<T,Integer> to ToIntFunction<T>.  My project deals with the boxing and 
unboxing of Wrapper class and the primitive data-types. I want to know that 
whether the open source community is ready to accept these micro-optimizing 
refactorings or not. 
    
    Thank you,
    Harsh Thakor

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Harshrajsinh/cassandra hotfix/readme-update

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra/pull/116.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #116
    
----
commit 89ed7fc212430110e05607f1ba4eb80a65225805
Author: Harshrajsinh Thakor <[email protected]>
Date:   2017-06-05T03:34:38Z

    Changed the Function<Unfiltered,Integer> predicate and 
Function<UnfilteredRowIterator,Integer> partitionPredicate to the 
ToIntFunction<Unfiltered> and ToIntFunction<UnfilteredRowIterator>. Also. 
predicate.apply() changed to predicate.applyAsInt() and also 
partitionPredicate.applyAsInt().

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to