Closed luiscruz closed 7 years ago
Hi,
thanks for your participation. We checked your request and it seemed correct but the code formatting is broken. We cannot merge this request until you fix that. Despite of that we are not quite sure how an optimization of unit tests will improve the performance of an android app or even improve the energy efficiency.
Hi @gnome17 In fact such optimization in tests will not have any effect in the app. Thanks for looking into this!
Hi,
if you don't mind i will close this pull request. But feel free to participate again if you found any further optimizations.
Hi,
I am developing a tool to automatically refactor Android applications with the goal of improving energy efficiency. This pull request has the changes generated while applying the rule "Recycle".
Some resources (e.g.,
Cursor
instances) should be closed when they are no longer necessary.I have made a previous validation of the changes and they seem correct. Please consider them and let me know if you agree with them.
Best, Luis