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
(cherry picked from commit 559e81b)
pull/642/head
Sam Brannen 11 years ago committed by Juergen Hoeller
parent
commit
bea9f3ff76
  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; @@ -37,7 +37,7 @@ import javax.net.ServerSocketFactory;
* @author Gunnar Hillert
* @since 4.0
*/
public abstract class SocketUtils {
public class SocketUtils {
/**
* The default minimum value for port ranges used when finding an available

Loading…
Cancel
Save