Video: Refactoring Java For-Loops and While-Loops (+ code examples)

In this short video we will show how for-loops and while-loops gets refactored by jSparrow.

Both while-loops and for-loops will be transformed into an enhanced for-loop, which can then be transformed into a Stream forEach. For further improvements the forEach Streams can be transformed through a number of Stream operations.

With jSparrow you always will have the control over your code; the Diff View and the adjustable (on/off) rule-based changes let’s you as a developer, transparently review your code before committing.

For more information visit:

Documentation space:

Promotion pop-up

jSparrow 22% off promotion image