Browse Source

Make SocketUtils a concrete class

Per the Javadoc for the SocketUtils() constructor, SocketUtils can be
instantiated as a Spring Bean in XML configuration files; however,
SocketUtils is currently abstract which prevents such usage.

This commit removes the 'abstract' declaration thereby allowing
SocketUtils to be instantiated as a Spring bean.

Issue: SPR-12169
pull/643/head
Sam Brannen 11 years ago
parent
commit
559e81bec7
  1. 2
      spring-core/src/main/java/org/springframework/util/SocketUtils.java

2
spring-core/src/main/java/org/springframework/util/SocketUtils.java

@ -37,7 +37,7 @@ import javax.net.ServerSocketFactory;
* @author Gunnar Hillert * @author Gunnar Hillert
* @since 4.0 * @since 4.0
*/ */
public abstract class SocketUtils { public class SocketUtils {
/** /**
* The default minimum value for port ranges used when finding an available * The default minimum value for port ranges used when finding an available

Loading…
Cancel
Save