Skip to content

Commit b6d9441

Browse files
author
matt.tieman
committed
Issue-1126: HostAndPort implement Serializable
1 parent 50e8d34 commit b6d9441

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/java/redis/clients/jedis/HostAndPort.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
package redis.clients.jedis;
22

3-
public class HostAndPort {
4-
public static final String LOCALHOST_STR = "localhost";
3+
import java.io.Serializable;
4+
5+
public class HostAndPort implements Serializable {
6+
private static final long serialVersionUID = -519876229978427751L;
7+
8+
public static final String LOCALHOST_STR = "localhost";
59

610
private String host;
711
private int port;

0 commit comments

Comments
 (0)