for (int i = 0; i < fileList.length; ++i) { String jarFile = fileList[i];
for (String jarFile : fileList) {
	private void processComponentJar(URL jarFileURL, WorkList workList,		List<String> implicitClasspath) {		if (DEBUG) System.out.println("Processing " + jarFileURL.toString());		if (!jarFileURL.toString().endsWith(".zip") && !jarFileURL.toString().endsWith(".jar"))			return;		try {			URL manifestURL = new URL("jar:" + jarFileURL.toString() + "!/META-INF/MANIFEST.MF");			InputStream in = null;			try {				in = manifestURL.openStream();				Manifest manifest = new Manifest(in);				Attributes mainAttrs = manifest.getMainAttributes();				String classPath = mainAttrs.getValue("Class-Path");				if (classPath != null) {					String[] fileList = classPath.split("\\s+");					for (int i = 0; i < fileList.length; ++i) {						String jarFile = fileList[i];						URL referencedURL = workList.createRelativeURL(jarFileURL, jarFile);						if (workList.add(new WorkListItem(referencedURL))) {							implicitClasspath.add(referencedURL.toString());							if (DEBUG) System.out.println("Implicit jar: " + referencedURL.toString());						}					}				}			} finally {				if (in != null) {					in.close();				}			}		} catch (IOException ignore) {			// Ignore		}	}