emsdriver/commons/utils/UnZip.java
file name: UnZip.java
Change-Id: I7052a33b498e51216667f820123fb173582b506e
Issue-ID: VFC-761
Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
try {
Enumeration<ZipEntry> e = zipFile.getEntries();
for (ZipEntry entry; e.hasMoreElements(); ) {
- if (!(entry = e.nextElement()).isDirectory()) {
+ entry = e.nextElement();
+ if (!entry.isDirectory()) {
String toPath = new StringBuffer(
deCompressPath).append(entry.getName()).toString();
toPath = toPath.replace("\\", File.separator);