8000 Update README.md · HiddenMotives/Java-SimpleCache@20d9db4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 20d9db4

Browse files
Update README.md
1 parent bc9b7be commit 20d9db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cache.set_cache_extension(".json");
2222

2323
String data = null;
2424

25-
if(cache.get_cache("label") != null) {
25+
if(cache.is_cached("label)) {
2626
data = cache.get_cache("label");
2727
} else {
2828
data = cache.grab_url("http://some.api.com/file.json");

0 commit comments

Comments
 (0)
0