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 d74d2a9 commit 0289f02
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 @@ -962,7 +962,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 String username;
Expand Down

0 comments on commit 0289f02

Please sign in to comment.