Skip to content

Commit

Permalink
DOC-4202 fixed compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-stark-redis committed Sep 20, 2024
1 parent 78eaec7 commit d74e87e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/io/redis/examples/QueryEmExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
public class QueryEmExample {
@Test
public void run() {
UnifiedJedis jedis = new UnifiedJedis("redis://localhost:6379")
UnifiedJedis jedis = new UnifiedJedis("redis://localhost:6379");

//REMOVE_START
// Clear any keys here before using them in tests.
jedis.ftDropIndex("idx:bicycle");
jedis.ftDropIndex("idx:email");
try {jedis.ftDropIndex("idx:bicycle");} catch (JedisDataException j){}
try {jedis.ftDropIndex("idx:email");} catch (JedisDataException j){}
//REMOVE_END

SchemaField[] schema = {
Expand Down

0 comments on commit d74e87e

Please sign in to comment.