File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/springframework/data/elasticsearch/client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
* @author Mark Paluch
27
27
* @since 3.2
28
28
*/
29
- class InetSocketAddressParser {
29
+ public class InetSocketAddressParser {
30
30
31
31
/**
32
32
* Parse a host and port string into a {@link InetSocketAddress}.
@@ -36,7 +36,7 @@ class InetSocketAddressParser {
36
36
* @return a {@link InetSocketAddress} that is unresolved to avoid DNS lookups.
37
37
* @see InetSocketAddress#createUnresolved(String, int)
38
38
*/
39
- static InetSocketAddress parse (String hostPortString , int defaultPort ) {
39
+ public static InetSocketAddress parse (String hostPortString , int defaultPort ) {
40
40
41
41
Assert .notNull (hostPortString , "HostPortString must not be null" );
42
42
String host ;
You can’t perform that action at this time.
0 commit comments