summaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorPaulo Casanova <pasc@google.com>2016-10-11 09:20:16 -0700
committerPaulo Casanova <pasc@google.com>2017-01-24 15:24:21 -0800
commitef12a6f3d04ea05d88e319610dbee6b31b460d5d (patch)
treeb6a0b2ae9ef14c63b91782b8bccd83bd17fbb42d /src/main/java/com
parent303c8ab014df5769504ad0352ee10b6d7da7c328 (diff)
downloadapkzlib-ef12a6f3d04ea05d88e319610dbee6b31b460d5d.tar.gz
Added IncrementalFileMerger; update MergeJavaRes
Added IncrementalFileManager and associated classes. This class is capable of doing a perfect incremental merge of sets of relative files into a destination file, keeping track of where information came from. It makes java res merging incremental. Test: Included Change-Id: Iddc28655bb00e7859ebd9b5dc04093f6d886ea05
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/android/apkzlib/utils/CachedSupplier.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/android/apkzlib/utils/CachedSupplier.java b/src/main/java/com/android/apkzlib/utils/CachedSupplier.java
index 3f0e79f..c9b1ed1 100644
--- a/src/main/java/com/android/apkzlib/utils/CachedSupplier.java
+++ b/src/main/java/com/android/apkzlib/utils/CachedSupplier.java
@@ -45,7 +45,8 @@ import javax.annotation.Nonnull;
public class CachedSupplier<T> {
/**
- * The cached data, {@code null} if computation resulted in {@code null}.
+ * The cached data, {@code null} if computation resulted in {@code null}. It is also
+ * {@code null} if the cached data has not yet been computed.
*/
private T cached;