if (file.isDirectory()) {
return new DirectoryCodeBase(codeBaseLocator, file);
} else if (fileName.endsWith(".class")) {
return new SingleFileCodeBase(codeBaseLocator, fileName);
} else {
<BUG>return new ZipInputStreamCodeBase(codeBaseLocator, file);
}</BUG>
}
static IScannableCodeBase createNestedZipFileCodeBase(
NestedZipFileCodeBaseLocator codeBaseLocator)

if (file.isDirectory()) {
return new DirectoryCodeBase(codeBaseLocator, file);
} else if (fileName.endsWith(".class")) {
return new SingleFileCodeBase(codeBaseLocator, fileName);
} else {
return ZipCodeBaseFactory.makeZipCodeBase(codeBaseLocator, file);
}
}
static IScannableCodeBase createNestedZipFileCodeBase(
NestedZipFileCodeBaseLocator codeBaseLocator)
