spring-projects/spring-data-mongodb — pull request #103 by thomasdarimont (2013-12-11 08:30:02+00:00)
Title: DATAMONGO-808 - Improve ServerAddressPropertyEditor to support IPv6 addresses.

Improved parsing of ServerAddress to be able to handle IPv6 addresses correctly. We now use the actor ServerAddress(InetAddress) to be able to pass an IPv6 address. The ctor which takes a String as the hostname can't deal with IPv6 addresses directly because it tries to extract a port at the wrong location of such an address.

This change should not change the behaviour too much, since the ctor ServerAddress(String,int) already calls InetAddress.getByName(...) internally.