@@ -16,56 +16,19 @@ public class CacheKeyStore {
1616 public static class StoredKeys {
1717 public final Key sourceKey ;
1818 public final Key signature ;
19- public final int width ;
20- public final int height ;
21- public final Transformation <?> transformation ; // optional in-memory only
22- public final byte [] transformationKeyBytes ; // raw bytes written by transformation.updateDiskCacheKey
23- public final Class <?> decodedResourceClass ;
24- public final Options options ; // may be null or placeholder for in-memory
25- public final byte [] optionsKeyBytes ; // raw bytes from options.updateDiskCacheKey
26-
2719 public StoredKeys (
2820 Key sourceKey ,
29- Key signature ,
30- int width ,
31- int height ,
32- Transformation <?> transformation ,
33- byte [] transformationKeyBytes ,
34- Class <?> decodedResourceClass ,
35- Options options ,
36- byte [] optionsKeyBytes ) {
21+ Key signature ) {
3722 this .sourceKey = sourceKey ;
3823 this .signature = signature ;
39- this .width = width ;
40- this .height = height ;
41- this .transformation = transformation ;
42- this .transformationKeyBytes = transformationKeyBytes ;
43- this .decodedResourceClass = decodedResourceClass ;
44- this .options = options ;
45- this .optionsKeyBytes = optionsKeyBytes ;
4624 }
4725
48-
4926 public String toString () {
5027 return "CacheKeyStore.StoredKeys {"
5128 + "sourceKey="
5229 + sourceKey
5330 + ", signature="
5431 + signature
55- + ", width="
56- + width
57- + ", height="
58- + height
59- + ", decodedResourceClass="
60- + decodedResourceClass
61- + ", transformation="
62- + transformation
63- + ", transformationKeyBytes="
64- + transformationKeyBytes
65- + ", options="
66- + options
67- + ", optionsKeyBytes="
68- + optionsKeyBytes
6932 + '}' ;
7033 }
7134 }
0 commit comments