Skip to content

Commit

Permalink
Update TestCheckKey.java
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzhizi715 committed Jan 16, 2023
1 parent df71bb9 commit 184c267
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/src/main/java/persistence/TestCheckKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ public static void main(String[] args) {
RxCache rxCache = RxCache.getRxCache();
Boolean result = rxCache.checkKey("test");
System.out.println(result);

if (!result) {
rxCache.remove("test");
}
}
}

0 comments on commit 184c267

Please sign in to comment.