You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran a refactoring golf session at my company today, thanks very much for providing the code.
None of managed to solve hole 6, are you able to share the steps used to get a score of 7? We were hoping there'd be a nice refactoring in IntelliJ to switch the loop to a stream but that doesn't exist.
Thanks
Nick
The text was updated successfully, but these errors were encountered:
I know this is old... but it looks like IntelliJ removed the intention to replace a for loop with the streams API. Doing a bit of googling, it was called foreach loop can be collapsed with the Stream API, and there's a screenshot attached of it to this youtrack ticket (from intellij 2016).
One might need to use an old version of intellij to get a 7 :)
Hi there,
I ran a refactoring golf session at my company today, thanks very much for providing the code.
None of managed to solve hole 6, are you able to share the steps used to get a score of 7? We were hoping there'd be a nice refactoring in IntelliJ to switch the loop to a stream but that doesn't exist.
Thanks
Nick
The text was updated successfully, but these errors were encountered: