Skip to content

Commit

Permalink
Consistently implement CompositeArgument in arg types #2387
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Apr 18, 2023
1 parent 80f2458 commit 7551575
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/java/io/lettuce/core/XAddArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @author dengliming
* @since 5.1
*/
public class XAddArgs {
public class XAddArgs implements CompositeArgument {

private String id;

Expand Down Expand Up @@ -89,6 +89,7 @@ public static XAddArgs nomkstream() {
public static XAddArgs minId(String minid) {
return new XAddArgs().minId(minid);
}

}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/XClaimArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @author Mark Paluch
* @since 5.1
*/
public class XClaimArgs {
public class XClaimArgs implements CompositeArgument {

long minIdleTime;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/XGroupCreateArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @author Mark Paluch
* @since 5.2
*/
public class XGroupCreateArgs {
public class XGroupCreateArgs implements CompositeArgument {

private boolean mkstream;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/XReadArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @author Mark Paluch
* @since 5.1
*/
public class XReadArgs {
public class XReadArgs implements CompositeArgument {

private Long block;

Expand Down

0 comments on commit 7551575

Please sign in to comment.