Skip to content

Commit

Permalink
Polishing #1518
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Jan 22, 2021
1 parent 4a68768 commit 62e00ae
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/io/lettuce/core/ReadFrom.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,12 @@ public abstract class ReadFrom {

/**
* Setting to read from the upstream only.
*
* @deprecated since 6.0 in favor of {@link #UPSTREAM}.
*/
@Deprecated
public static final ReadFrom MASTER = new ReadFromImpl.ReadFromUpstream();

/**
* Setting to read preferred from the upstream and fall back to a replica if the master is not available.
*
* @deprecated since 6.0 in favor of {@link #UPSTREAM_PREFERRED}.
*/
@Deprecated
public static final ReadFrom MASTER_PREFERRED = new ReadFromImpl.ReadFromUpstreamPreferred();

/**
Expand Down

0 comments on commit 62e00ae

Please sign in to comment.