diff options
author | Sam Blitzstein <sblitz@google.com> | 2013-10-16 17:08:25 -0700 |
---|---|---|
committer | Sam Blitzstein <sblitz@google.com> | 2013-10-16 17:47:50 -0700 |
commit | 25ad6f98516a7af1ca71cfa07fb503d46dc8a7f1 (patch) | |
tree | efdefb7ddeb0204bd48e1e376e602b52b189e4b5 /src | |
parent | d2e1718fa8e1199b03dc0d069711b24e946aa858 (diff) | |
download | bitmap-25ad6f98516a7af1ca71cfa07fb503d46dc8a7f1.tar.gz |
Add copyright notices, and clarify documentation.
Remove ineffectual interface methods from RequestKey and replace with a comment in the class's
documentation to the same meaning.
Change-Id: I4d27407d18a798b27dfe138b38a5ee3a2718e127
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/bitmap/RequestKey.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/com/android/bitmap/RequestKey.java b/src/com/android/bitmap/RequestKey.java index eadb42d..108b255 100644 --- a/src/com/android/bitmap/RequestKey.java +++ b/src/com/android/bitmap/RequestKey.java @@ -29,16 +29,12 @@ import java.io.InputStream; * <p> * Objects of this type will also serve as cache keys to fetch cached data for {@link PooledCache}s, * so they must implement {@link #equals(Object)} and {@link #hashCode()}. + * <p> + * Clients of this interface must also implement {@link #equals(Object)} and {@link #hashCode()} as + * this object will be used as a cache key. */ public interface RequestKey { - - @Override - public boolean equals(Object o); - - @Override - public int hashCode(); - /** * Create an {@link AssetFileDescriptor} for a local file stored on the device. This method will * be called first; if it returns null, {@link #createInputStream()} will be called. |