Skip to content

Commit 26a2f54

Browse files
authored
Change visibility of InetSocketAddressParser.
Original Pull Request #2227 Closes #2226
1 parent 1754f59 commit 26a2f54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/springframework/data/elasticsearch/client/InetSocketAddressParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @author Mark Paluch
2727
* @since 3.2
2828
*/
29-
class InetSocketAddressParser {
29+
public class InetSocketAddressParser {
3030

3131
/**
3232
* Parse a host and port string into a {@link InetSocketAddress}.
@@ -36,7 +36,7 @@ class InetSocketAddressParser {
3636
* @return a {@link InetSocketAddress} that is unresolved to avoid DNS lookups.
3737
* @see InetSocketAddress#createUnresolved(String, int)
3838
*/
39-
static InetSocketAddress parse(String hostPortString, int defaultPort) {
39+
public static InetSocketAddress parse(String hostPortString, int defaultPort) {
4040

4141
Assert.notNull(hostPortString, "HostPortString must not be null");
4242
String host;

0 commit comments

Comments
 (0)