There is one just like it in Mina. Gary
On Wed, Jun 25, 2014 at 11:02 AM, Matt Sicker <boa...@gmail.com> wrote: > I think AvailablePortFinder was a class I copied from Camel. > > > On 24 June 2014 23:24, Gary Gregory <garydgreg...@gmail.com> wrote: > >> We have two ways of finding free socket ports: >> >> - org.apache.logging.log4j.test.AvailablePortFinder has been around for a >> while, and >> - org.apache.logging.log4j.core.net.FreePortFinder which is a new class I >> refactored out of a bunch of duplicate code in the Flume tests. >> >> We need to pick on way of doing this. FreePortFinder gets my vote because >> it is simpler. >> >> Thoughts? >> >> Gary >> >> -- >> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >> Java Persistence with Hibernate, Second Edition >> <http://www.manning.com/bauer3/> >> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> Spring Batch in Action <http://www.manning.com/templier/> >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> > > > > -- > Matt Sicker <boa...@gmail.com> > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory