summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-11-26 11:34:17 -0800
committerBrian Carlstrom <bdc@google.com>2012-11-26 11:34:35 -0800
commit4285b5276e2d3a05294b4247f9ea82e7a033a07d (patch)
tree3b7fc567002d516b79042dec07cc9d50098f2cb3 /dalvik
parent610157ba28e83393954a226d3895c5131806c338 (diff)
downloadlibcore-4285b5276e2d3a05294b4247f9ea82e7a033a07d.zip
libcore-4285b5276e2d3a05294b4247f9ea82e7a033a07d.tar.gz
libcore-4285b5276e2d3a05294b4247f9ea82e7a033a07d.tar.bz2
Move comment to match code
Followup for change "Lazy parsing of zip files for Java resources." Change-Id: Ic572dff0edda766400ce6cea9fb27344373c73df
Diffstat (limited to 'dalvik')
-rw-r--r--dalvik/src/main/java/dalvik/system/DexPathList.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/dalvik/src/main/java/dalvik/system/DexPathList.java b/dalvik/src/main/java/dalvik/system/DexPathList.java
index 3b4c100..728639b 100644
--- a/dalvik/src/main/java/dalvik/system/DexPathList.java
+++ b/dalvik/src/main/java/dalvik/system/DexPathList.java
@@ -383,11 +383,6 @@ import static libcore.io.OsConstants.*;
init = true;
if (zip == null) {
- /*
- * Either this element has no zip/jar file (first
- * clause), or the zip/jar file doesn't have an entry
- * for the given name (second clause).
- */
return;
}
@@ -409,6 +404,11 @@ import static libcore.io.OsConstants.*;
maybeInit();
if (zipFile == null || zipFile.getEntry(name) == null) {
+ /*
+ * Either this element has no zip/jar file (first
+ * clause), or the zip/jar file doesn't have an entry
+ * for the given name (second clause).
+ */
return null;
}