Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: M Sazzadul Hoque <[email protected]>
  • Loading branch information
andy-stark-redis and sazzad16 authored Jan 15, 2025
1 parent 1a83ec5 commit f7de5c5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/test/java/io/redis/examples/CmdsSetExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public void run() {
System.out.println(sAddResult3); // >>> 0

Set<String> sAddResult4 = jedis.smembers("myset");
System.out.println(
sAddResult4.stream().sorted().collect(toList()).toString()
);
System.out.println(sAddResult4.stream().sorted().collect(toList()));
// >>> [Hello, World]
// STEP_END
// REMOVE_START
Expand All @@ -50,9 +48,7 @@ public void run() {
System.out.println(sMembersResult1); // >>> 2

Set<String> sMembersResult2 = jedis.smembers("myset");
System.out.println(
sMembersResult2.stream().sorted().collect(toList()).toString()
);
System.out.println(sMembersResult2.stream().sorted().collect(toList()));
// >>> [Hello, World]
// STEP_END
// REMOVE_START
Expand Down

0 comments on commit f7de5c5

Please sign in to comment.