From ffd2721627004f658805c6037ff8558e96f24897 Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 22 Oct 2009 22:22:38 +0000 Subject: [PATCH] javadoc --- core/java/src/net/i2p/util/FileUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/java/src/net/i2p/util/FileUtil.java b/core/java/src/net/i2p/util/FileUtil.java index ab0341f41..f35898139 100644 --- a/core/java/src/net/i2p/util/FileUtil.java +++ b/core/java/src/net/i2p/util/FileUtil.java @@ -143,6 +143,11 @@ public class FileUtil { * so we basically go through all the motions of extractZip() above, * unzipping everything but throwing away the data. * + * Todo: verify zip header? Although this would break the undocumented + * practice of renaming the i2pupdate.sud file to i2pupdate.zip and + * letting the unzip method skip over the leading 56 bytes of + * "junk" (sig and version) + * * @return true if ok */ public static boolean verifyZip(File zipfile) {