Skip to content

Commit

Permalink
Provide a default port to RedisURI's Builder instead of 0 #1205
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored and mp911de committed Jan 13, 2020
1 parent 4bf804c commit c02a65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/RedisURI.java
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ public static class Builder {
private String host;
private String socket;
private String sentinelMasterId;
private int port;
private int port = DEFAULT_REDIS_PORT;
private int database;
private String clientName;
private char[] password;
Expand Down

0 comments on commit c02a65d

Please sign in to comment.