From 559e81bec7c47401067702b48813bc35ad392332 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 9 Sep 2014 16:08:27 -0500 Subject: [PATCH] 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 --- .../src/main/java/org/springframework/util/SocketUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-core/src/main/java/org/springframework/util/SocketUtils.java b/spring-core/src/main/java/org/springframework/util/SocketUtils.java index ec44c24fa8..665ab99e9f 100644 --- a/spring-core/src/main/java/org/springframework/util/SocketUtils.java +++ b/spring-core/src/main/java/org/springframework/util/SocketUtils.java @@ -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