ci.maven
ci.maven copied to clipboard
Refactor findAvailablePort() method
Combine the logic for Windows and other OS's inside of this method. Extract the code differences to other methods.
This can probably be closed?
git grep findAvailablePort | wc -l
0
@TrevCraw was there anything interesting motivating the idea to refactor here or was it purely for code organization?
Nothing Maven vs. Gradle specific I assume.
I started looking for relevant issues since I noticed findAvailablePort not working as expected using Gradle and Windows 11... but in the past couple hours my problem went away. Blame the daemon cache I guess.
Thought I'd ask anyway.
@scottkurz It is purely for code organization