diff options
author | Anonymous <no-reply@google.com> | 2020-04-30 10:56:07 -0700 |
---|---|---|
committer | Jeff Davidson <jpd@google.com> | 2020-04-30 11:32:32 -0700 |
commit | ec9c6e0d0e8e5e947017e24c270ca9f13487f937 (patch) | |
tree | 27e047f7667354b69c19637d9cb728f70cbf1892 /src/main/java/com/android/volley/Cache.java | |
parent | 582bbb822930556f855cad998a393edf7b64e1d4 (diff) | |
download | volley-ec9c6e0d0e8e5e947017e24c270ca9f13487f937.tar.gz |
Import of Volley from GitHub to AOSP.
- c9b2623cb524d2ec29a5a7f012528115f45b24cd Tolerate null header maps in HttpHeaderParser. (#334) by Jeff Davidson <jpd@google.com>
- 455a16125ae9d01176d68a2ea7d4747130e55801 Allow creation of custom input/output streams in HurlStac... by Nicolas <ndagnas@live.fr>
- addc11dbd37bd3a5d8136557076af0e8d0a995a4 Annotate more nullable methods and fields (#333) by Julien Biral <jbir789@users.noreply.github.com>
- d41f34a43520cd1d30fe71ada3271161adb0e9c0 Add @Nullable annotations to Response (#325) by justin-morey <justin.morey@gmail.com>
- 8a3a7baa07dda3fb4c5d561664470311c13d215b Send request to network when cache entry parsing fails (#... by Ulrike Hager <uhager42@gmail.com>
- 514eac8c33492f69f62799dcd3669c877474626c Re-initialize the cache if the directory was deleted. (#2... by Ulrike Hager <uhager42@gmail.com>
- b95b0159a14f053590cb18fd1cf3a1b159e478a1 Fix timezone formatting for RFC1123 on some Android devic... by Jeff Davidson <jpd@google.com>
- 96c88101bcb6139fc9dd2ded4ef7c0008085d4b1 httpheaderparser: log invalid date headers only verbosely... by Florens <Floens@gmail.com>
- 8e7a6dbf4dfbea56da48814ecf6e7270dcec9b0f Allow Volley.newRequestQueue() to be called on main threa... by Yuhan Zhao <poligun@gmail.com>
GitOrigin-RevId: c9b2623cb524d2ec29a5a7f012528115f45b24cd
Change-Id: I8e677f68212e6ba0812f398744895a1a12b6ed70
Diffstat (limited to 'src/main/java/com/android/volley/Cache.java')
-rw-r--r-- | src/main/java/com/android/volley/Cache.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/android/volley/Cache.java b/src/main/java/com/android/volley/Cache.java index 35b2a96..b8908ac 100644 --- a/src/main/java/com/android/volley/Cache.java +++ b/src/main/java/com/android/volley/Cache.java @@ -16,6 +16,7 @@ package com.android.volley; +import androidx.annotation.Nullable; import java.util.Collections; import java.util.List; import java.util.Map; @@ -28,6 +29,7 @@ public interface Cache { * @param key Cache key * @return An {@link Entry} or null in the event of a cache miss */ + @Nullable Entry get(String key); /** |